git: kernel - Fix swapcached problems when max-swap use reached

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 18 10:49:33 PST 2011


commit 08fb7a9da0e0d88d4b3f6574e0e113fb6304946f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 18 10:48:09 2011 -0800

    kernel - Fix swapcached problems when max-swap use reached
    
    * A calculation could reverse-index the limit counter and cause
      swapcached to eat an excessive amount of cpu, causing other
      processes to stall.
    
    * Fixes network problems between avalon and the dragonfly core network.

Summary of changes:
 sys/vm/swap_pager.c   |   16 +++++++++++++---
 sys/vm/vm_swapcache.c |    4 +++-
 2 files changed, 16 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08fb7a9da0e0d88d4b3f6574e0e113fb6304946f


-- 
DragonFly BSD source repository





More information about the Commits mailing list