git: netisr barrier: Prevent netisr_barrier_dispatch() from false wakeup

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jan 30 21:47:48 PST 2011


commit d0c7a72ac56c6d7472dbb847ddd1d1151dcb4440
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jan 31 13:43:24 2011 +0800

    netisr barrier: Prevent netisr_barrier_dispatch() from false wakeup
    
    - Change wait states into wait flags, only test NOTDONE flag when
      being woken up.
    - Simplify wakeup logic.
    
    With-help-from: dillon@

Summary of changes:
 sys/net/netisr.c |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d0c7a72ac56c6d7472dbb847ddd1d1151dcb4440


-- 
DragonFly BSD source repository





More information about the Commits mailing list