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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Feb 2010 11:06:11 -0800 (PST)

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



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