]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Wrap propagate_priority() in a critical section to prevent unwanted
authorjhb <jhb@FreeBSD.org>
Thu, 11 Jan 2007 19:13:27 +0000 (19:13 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 11 Jan 2007 19:13:27 +0000 (19:13 +0000)
commit496f904eabc5a636f97ab8a3be7e8f10148b5a66
tree2e9ff1da88cfa0913c9b18a3a5170a052c7389a5
parentfd81dffb5caf747b00bfd66e0706f69167812837
Wrap propagate_priority() in a critical section to prevent unwanted
preemptions when adjusting the priority of a thread that is on a run
queue.  This was only observed when FULL_PREEMPTION was enabled.

Reported by: kris
Diagnosed by: ups
MFC after: 1 week
sys/kern/subr_turnstile.c