summaryrefslogtreecommitdiffstats
path: root/usr.sbin/usbconfig
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-01-07 00:47:50 +0000
committerattilio <attilio@FreeBSD.org>2010-01-07 00:47:50 +0000
commit2e14be290b5b8c1dd99a985297642637367d2604 (patch)
tree15f9f7f63468c6f258e3e3f4d51a51c0dac511a9 /usr.sbin/usbconfig
parent9b6b3618fec2df610c856eeeb69b75306239e21a (diff)
downloadFreeBSD-src-2e14be290b5b8c1dd99a985297642637367d2604.zip
FreeBSD-src-2e14be290b5b8c1dd99a985297642637367d2604.tar.gz
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>
Diffstat (limited to 'usr.sbin/usbconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud