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

git: kernel - reduce kernel stack use


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jul 2012 10:24:53 -0700 (PDT)

commit 7c76e73a679321a9a4cc0a93178ee93fbda7aaa6
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Jul 3 10:22:09 2012 -0700

    kernel - reduce kernel stack use
    
    * fq_dispatcher() was eating 8K+ of kernel stack on x86-64 with a
      (512 x sizeof(pointer) * 2) sized array.  This is way too much kernel
      stack.
    
    * Add a safety to the hz calculation in the lksleep() for hz values < 15.
      vkernels already use low hz values of ~20-ish.
    
    Reported-by: swildner

Summary of changes:
 sys/kern/dsched/fq/fq_core.c |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c76e73a679321a9a4cc0a93178ee93fbda7aaa6


-- 
DragonFly BSD source repository



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