git: kernel - Add burst reads back into swap_pager

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jan 21 12:15:43 PST 2010


commit 5d5c583125c83ef80b172eb2cd1554f05564594e
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list