git: altq: Don't use poll cache

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Mar 3 23:34:57 PST 2013


commit 893c125d2ded6f26e052b1e55b271ca86542b614
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list