Date: Mon, 4 Sep 2006 09:53:29 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_event.c Message-ID: <200609040953.k849rTpv053040@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609040953.k849rTpv053040>
