how are callouts handled in cpu_idle() ?

Adrian Chadd adrian at freebsd.org
Sat Oct 1 10:00:23 UTC 2011


Right. Hm, what about for i386/amd64 cases we call intr_disable()
before the critical_enter and idleclock, then re-enable either just
before the wait/halt call (like it is now) or just after the
sched_running check (just like it is now.)

That way a filter handler which schedules a callout gets called correctly?


Adrian


More information about the freebsd-hackers mailing list