Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 18:20:39 -0400
From:      Stephan Uphoff <ups@tree.com>
To:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   nuking TDP_WAKEPROC0
Message-ID:  <1116541239.7597.6779.camel@palm>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116541239.7597.6779.camel>