Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 10:58:20 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        freebsd-geom@freebsd.org
Subject:   Hyperactive g_event thread
Message-ID:  <4C4E919C.2060009@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi.

At this moment g_event thread is one of two most active idle threads
(second is yarrow) on my system. It wakes up ten times per second while
most of time it is not doing anything. The only reason for doing it I
see in imperfect locking of g_run_events() loop and respective
tsleep()/wakeup(). So timeout there may be needed for collection
potentially lost wakeup() events.

Could somebody fully aware of GEOM locking look at this?

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C4E919C.2060009>