nuking TDP_WAKEPROC0

Stephan Uphoff ups at tree.com
Thu May 19 15:20:42 PDT 2005


The TDP_WAKEPROC0 workaround addressed the problem that wakeup for proc0
could not be called in setrunnable context and had to be delayed.
Replacing sleep/wakeup for proc0 with low level primitives borrowed from
starting interrupt threads allows the necessary functionality to be
called directly by setrunnable(). Using a restart variable allows to get
rid of periodic rescans.

Please take a look at:
http://people.freebsd.org/~ups/proc0.patch

If nobody objects or requests more time for a review I will check in the
changes early next week.

Stephan



More information about the freebsd-arch mailing list