git: kernel - SWAP CACHE part 2/many - Remove VM pager lists

看板DFBSD_commit作者時間16年前 (2010/02/04 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit d28e135578610d77ba52510dbc67160be835ab14 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Feb 2 21:58:40 2010 -0800 kernel - SWAP CACHE part 2/many - Remove VM pager lists * VM pager lists were used to associate handles with VM objects. Only the device_pager actually used them. Store the VM object in cdev_t->si_object instead and remove the device pager's VM pager list. * phys_pager and swap_pager only use anonymous objects, the VM pager lists were implemented but not used. Assert that the handles are NULL and remove the VM pager lists. * Remove vm_pager_object_lookup(). Summary of changes: sys/kern/sysv_shm.c | 4 +- sys/sys/conf.h | 6 ++- sys/vm/device_pager.c | 13 +++++--- sys/vm/phys_pager.c | 20 ++++-------- sys/vm/swap_pager.c | 81 ++++-------------------------------------------- sys/vm/swap_pager.h | 1 - sys/vm/vm_pager.c | 11 ------- sys/vm/vm_pager.h | 3 -- sys/vm/vnode_pager.c | 3 +- 9 files changed, 29 insertions(+), 113 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d28e135578610d77ba52510dbc67160be835ab14 -- DragonFly BSD source repository
文章代碼(AID): #1BQSyvtd (DFBSD_commit)