Hyperactive g_event thread

Alexander Motin mav at FreeBSD.org
Tue Jul 27 08:22:23 UTC 2010


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


More information about the freebsd-geom mailing list