tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ld(4) shutdown/flush patch to avoid tsleep at system shutdown time

Andrew Doran wrote:

> Yes, there should be no reason that we have to poll there. Even though the
> system is being rebooted it's still up and running. Why is the code being
> executed at IPL_HIGH?

cpu_reboot() on amd64 does:

        /* Disable interrupts. */



At a very quick glance, only the atari port does the shutdown hooks
before calling splhigh().


Home | Main Index | Thread Index | Old Index