git: kernel - Improve slab cleanup performance

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 19 11:59:37 PST 2014


commit 243dbb266d8d7206bccbfa4b4bb18d3a17357dfb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 19 11:55:46 2014 -0800

    kernel - Improve slab cleanup performance
    
    * Convert ZoneAry[], FreeZones, and FreeOVZones from singly linked lists
      to doubly linked LISTs.  SLZone structure changes size but globaldata
      should stay the same.
    
    * Primarily affects slab_cleanup() which appears to be able to eat
      an excessive amount of cpu on monster (systems with large amounts
      of memory), and may fix a spin lock timeout panic.
    
    * We may need some more work to moderate the amount of time slab_cleanup()
      takes.

Summary of changes:
 sys/kern/kern_slaballoc.c | 68 ++++++++++++++++++++---------------------------
 sys/sys/slaballoc.h       | 10 ++++---
 2 files changed, 36 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/243dbb266d8d7206bccbfa4b4bb18d3a17357dfb


-- 
DragonFly BSD source repository



More information about the Commits mailing list