cvs commit: src/sys/kern kern_event.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Sep 4 09:53:30 UTC 2006
pjd 2006-09-04 09:53:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/kern kern_event.c
Log:
MFC: sys/kern/kern_event.c 1.100-1.102
- Use SLIST_FOREACH_SAFE() macro, because knote_drop() can free an element
which can be then used to find next element in the list.
- Remove confusing done_noglobal label. The KQ_GLOBAL_UNLOCK() macro know
how to handle both situations - when kq_global lock is and is not held.
- Don't forget to unlock kq lock in low memory situations.
OK'ed by: jmg
Revision Changes Path
1.93.2.5 +4 -4 src/sys/kern/kern_event.c
More information about the cvs-src
mailing list