git: kernel - reduce kernel stack use
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Tue Jul  3 10:24:53 PDT 2012
    
    
  
commit 7c76e73a679321a9a4cc0a93178ee93fbda7aaa6
Author: Matthew Dillon <dillon at 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
    
    
More information about the Commits
mailing list