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

git: kernel - Refactor swapoff scan code


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Mar 2013 00:19:12 -0800 (PST)

commit 427e1a99f84ec99acaaeecf046ac9fb94b9d4443
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Mar 3 00:15:42 2013 -0800

    kernel - Refactor swapoff scan code
    
    * Refactor the scan code to be far more optimal.  The old scan was
      restarting the entire VM object scan on each swap block removed
      from the swap device being turned off.
    
    * Scan twice before giving up to try to catch any elements which
      are in-transition.

Summary of changes:
 sys/vm/swap_pager.c | 96 +++++++++++++++++++++++++++++++++++++++++------------
 sys/vm/vm_swap.c    |  2 +-
 2 files changed, 76 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/427e1a99f84ec99acaaeecf046ac9fb94b9d4443


-- 
DragonFly BSD source repository



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