Date: Thu, 7 Jan 2010 00:47:50 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_lock.c Message-ID: <201001070048.o070mBAB068926@repoman.freebsd.org>
index | next in thread | raw e-mail
attilio 2010-01-07 00:47:50 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c
Log:
SVN rev 201703 on 2010-01-07 00:47:50Z by attilio
Exclusive waiters sleeping with LK_SLEEPFAIL on and using interruptible
sleeps/timeout may have left spourious lk_exslpfail counts on, so clean
it up even when accessing a shared queue acquisition, giving to
lk_exslpfail the value of 'upper limit'.
In the worst case scenario, infact (mixed
interruptible sleep / LK_SLEEPFAIL waiters) what may happen is that both
queues are awaken even if that's not necessary, but still no harm.
Reported by: Lucius Windschuh <lwindschuh at googlemail dot com>
Reviewed by: kib
Tested by: pho, Lucius Windschuh <lwindschuh at googlemail dot com>
Revision Changes Path
1.152 +25 -3 src/sys/kern/kern_lock.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001070048.o070mBAB068926>
