DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jan 2011 21:46:38 -0800 (PST)

commit d0c7a72ac56c6d7472dbb847ddd1d1151dcb4440
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]