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

git: kernel - Add burst reads back into swap_pager


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Jan 2010 12:14:56 -0800 (PST)

commit 5d5c583125c83ef80b172eb2cd1554f05564594e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jan 21 11:55:14 2010 -0800

    kernel - Add burst reads back into swap_pager
    
    * Burst reading from swap was disabled due to recent VM pager changes
      which changes vm_pager_getpages() from specifying multiple-pages to
      specifying just one-page.
    
    * Add burst reading back into pretty much the only pager left (other
      then devfs_pager and phys_pager which are special cases) which
      doesn't use the buffer cache.
    
    * The code may still be a bit unstable so it is diabled by default.
      Add a new sysctl vm.swap_burst_read (defaults to off) which can
      be used to enable burst reading from swap.

Summary of changes:
 sys/vm/swap_pager.c |  245 +++++++++++++++++++++++++++++++-------------------
 1 files changed, 152 insertions(+), 93 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d5c583125c83ef80b172eb2cd1554f05564594e


-- 
DragonFly BSD source repository



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