]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC rev. 1.120:
authorkib <kib@FreeBSD.org>
Sat, 24 May 2008 03:36:19 +0000 (03:36 +0000)
committerkib <kib@FreeBSD.org>
Sat, 24 May 2008 03:36:19 +0000 (03:36 +0000)
commit7055668d30282328da6742337084201be3424b31
tree3f5f2079258308ef864a512e42c774197f5640c3
parent95e221986dde6a835d8c51ff604e201ce8878cd8
MFC rev. 1.120:
Kqueue_scan() may sleep when encountered the influx knotes. On the other
hand, it may cause other threads to sleep since kqueue_scan() may mark
some knotes as infux. This could lead to the deadlock.

Before kqueue_scan() sleeps, wakeup the threads that are waiting for the
influx knotes produced by this thread.
sys/kern/kern_event.c