Hyperactive g_event thread
    Jaakko Heinonen 
    jh at FreeBSD.org
       
    Sun Oct 24 15:47:07 UTC 2010
    
    
  
On 2010-10-22, Pawel Jakub Dawidek wrote:
> You won't lose wakeup even if you unlock first and then call wakeup(),
> but unlocking first might save you a context switch.
Thanks, I see it now. I reverted the wakeup() and unlock ordering in
g_orphan_provider() and g_post_event_x(). Also g_do_wither() unlocks
before calling wakeup() now.
An updated patch:
	http://people.freebsd.org/~jh/patches/geom-eventproc-sleep.2.diff
-- 
Jaakko
    
    
More information about the freebsd-geom
mailing list