看板 DFBSD_commit 關於我們 聯絡資訊
commit 5a648714491869e9bd4b4b9054bcb0d80b7c362d Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Feb 13 18:09:49 2010 -0800 kernel - VM PAGER part 1/2 - Remove vm_page_alloc() * Break out the individual VM object allocation functions and remove the vm_pager_alloc() ops vector. * This is in preparation for giving the vnode_pager_alloc() some additional arguments to match recent buffer cache work. Summary of changes: sys/dev/disk/vn/vn.c | 6 ++-- sys/kern/sysv_shm.c | 4 +- sys/vfs/tmpfs/tmpfs_subr.c | 2 +- sys/vm/default_pager.c | 4 +-- sys/vm/device_pager.c | 4 +-- sys/vm/phys_pager.c | 3 +- sys/vm/swap_pager.c | 6 +--- sys/vm/vm_map.c | 15 +++++++++- sys/vm/vm_mmap.c | 65 ++++++++++++++++++++++++++++--------------- sys/vm/vm_pager.c | 27 +----------------- sys/vm/vm_pager.h | 9 +++++- sys/vm/vnode_pager.c | 48 +++++++++++++++++++++++++++++++- sys/vm/vnode_pager.h | 1 - 13 files changed, 120 insertions(+), 74 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a648714491869e9bd4b4b9054bcb0d80b7c362d -- DragonFly BSD source repository