git: kernel - Add burst reads back into swap_pager

看板DFBSD_commit作者時間16年前 (2010/01/22 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BMBdAUV (DFBSD_commit)