Date: Mon, 7 Mar 2011 15:24:35 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom geom_event.c geom_kern.c Message-ID: <201103071524.p27FOwa0088483@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2011-03-07 15:24:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/geom geom_event.c geom_kern.c Log: SVN rev 219378 on 2011-03-07 15:24:35Z by jh MFC r215687: Use g_eventlock to protect against losing wakeups in the g_event process and replace tsleep(9) with msleep(9) which doesn't use a timeout. The previously used timeout caused the event process to wake up ten times per second on an idle system. one_event() is now called with the topology lock held and it returns with both the topology and event locks held when there are no more events in the queue. Revision Changes Path 1.56.10.4 +35 -28 src/sys/geom/geom_event.c 1.42.2.2 +2 -4 src/sys/geom/geom_kern.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103071524.p27FOwa0088483>