eventtimer issue on mips: temporary workaround

Adrian Chadd adrian at freebsd.org
Wed Sep 28 16:36:38 UTC 2011


.. so, the patch is totallyw rong.

intr_disable() needs to be moved before critical_enter() or it doesn't
achieve anything.
But the race is still there, between intr_enable() and "wait".
The only way to eliminate this race is to completely eliminate all the
code in cpu_idle().

Would someone clued in the implementation of wait please step up and help? :)


Adrian


More information about the freebsd-mips mailing list