]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adjust an assertion for the TDF_TSNOBLOCK race handling in
authorjhb <jhb@FreeBSD.org>
Tue, 9 Dec 2003 21:14:31 +0000 (21:14 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 9 Dec 2003 21:14:31 +0000 (21:14 +0000)
commitd8b6cc614acde625494abf1ad24f374fdcb0eb2a
treef2dca52d326a4f64914ca173ebf3a8321ac26b6c
parentf110a9ab64ec722689aec2bb4fcb522150e0c81c
Adjust an assertion for the TDF_TSNOBLOCK race handling in
turnstile_unpend().  A racing thread that does not have TDI_LOCK set may
either be running on another CPU or it may be sitting on a run queue if it
was preempted during the very small window in turnstile_wait() between
unlocking the turnstile chain lock and locking sched_lock.
sys/kern/subr_turnstile.c