tsleep_interlock() must be called prior to testing the serializer lock
commit9e493fb5231c85032d0a86a114bde982aaa19516
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 1 Dec 2005 18:34:09 +0000 (1 18:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 1 Dec 2005 18:34:09 +0000 (1 18:34 +0000)
tree00e50c745408037ad52931497876c55942d3324b
parentf026f3b06279c808b3615fafceae6514f5a0576d
tsleep_interlock() must be called prior to testing the serializer lock
state, otherwise a serializer wakeup on another cpu may race our tsleep().

Reported-by: Emiel Kollof <coolvibe@hackerheaven.org>
sys/kern/lwkt_serialize.c