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

git: altq: Don't use poll cache


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Mar 2013 23:34:57 -0800 (PST)

commit 893c125d2ded6f26e052b1e55b271ca86542b614
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Mar 4 15:37:48 2013 +0800

    altq: Don't use poll cache
    
    The poll/dequeue model is no longer applicable to SMP system, e.g.
    
       CPU-A            CPU-B
         :                :
       poll               :
         :              poll
       dequeue (+)        :
    
    The dequeue at (+) will hit the poll cache set by CPU-B.
    
    Reported-by: pavalos@

Summary of changes:
 sys/net/altq/altq_fairq.c   | 15 +++++++++++++++
 sys/net/altq/altq_hfsc.c    | 15 +++++++++++++++
 sys/net/altq/altq_rmclass.c | 30 ++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/893c125d2ded6f26e052b1e55b271ca86542b614


-- 
DragonFly BSD source repository



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