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

git: DragonFly_RELEASE_3_4 kernel - Fix several bugs in FAIRQ


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Jun 2013 13:23:33 -0700 (PDT)

commit 9bee4539340260af03e7f4b7be194e90bbb47f4c
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jun 5 23:52:02 2013 -0700

    kernel - Fix several bugs in FAIRQ
    
    * Fix several possible overflows due to high-valued machclk_freq constants
      and uint's that should have been uint64's.  Among other things this fixes
      bandwidth calculations that could previously get into weird states.
    
    * Refactor the fairq_selectq() routine to fix numerous cases where the
      head of the queue could get advanced multiple times without pulling a
      packet off the queue, causing packets in queues to be excessively
      delayed.
    
    Both of these were rather serious issues.  Operation is far smoother with
    the bugs fixed.

Summary of changes:
 sys/net/altq/altq_fairq.c | 100 +++++++++++++++++++++++++++-------------------
 sys/net/altq/altq_fairq.h |  10 ++---
 2 files changed, 64 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9bee4539340260af03e7f4b7be194e90bbb47f4c


-- 
DragonFly BSD source repository



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