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

git: kernel - SWAP CACHE part 22/many - Fix counter overflow introduced in part 21


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Feb 2010 18:35:34 -0800 (PST)

commit fdc53cc7c5e423755fd5e68cf77e4cb58ce34679
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Feb 21 18:33:43 2010 -0800

    kernel - SWAP CACHE part 22/many - Fix counter overflow introduced in part 21
    
    * vm_swapcache_inactive_heuristic can overflow, making it extremely negative
      and causing swapcache writing to cease for a long period of time.
    
    * Two-in-one fix.  Check if it is too negative and reset it.  This also
      automatically adjusts the heuristic if the sysop manually changes
      the hysteresis to a smaller value.

Summary of changes:
 sys/vm/vm_swapcache.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fdc53cc7c5e423755fd5e68cf77e4cb58ce34679


-- 
DragonFly BSD source repository



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