Searched hist:215687 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/sys/geom/
H A Dgeom_kern.cdiff 215687 Mon Nov 22 16:58:00 MST 2010 jh 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.

Reported by: mav, Marius NĂ¼nnerich
Reviewed by: freebsd-geom
H A Dgeom_event.cdiff 215687 Mon Nov 22 16:58:00 MST 2010 jh 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.

Reported by: mav, Marius NĂ¼nnerich
Reviewed by: freebsd-geom

Completed in 174 milliseconds