kernel - SWAP CACHE part 3/many - Rearrange VM pagerops
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 3 Feb 2010 22:45:32 +0000 (14:45 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 3 Feb 2010 22:45:32 +0000 (14:45 -0800)
commit107e9bcca13edfa5b6145d3e2424a8b991c2db8b
treef496cbb809c5782d021b098b96a2c192645ac740
parente5fe3477cd939ea0514189c91db5d775cdbd19d8
kernel - SWAP CACHE part 3/many - Rearrange VM pagerops

* Remove pgo_init, pgo_pageunswapped, and pgo_strategy

* The swap pager was the only consumer of pgo_pageunswapped and
  pgo_strategy.  Since these functions will soon operate on any
  VM object type and not just OBJT_SWAP there's no point putting
  them in pagerops.

* Make swap_pager_strategy() and swap_pager_unswapped() global
  functions and call them directly.
sys/dev/disk/vn/vn.c
sys/vm/default_pager.c
sys/vm/device_pager.c
sys/vm/phys_pager.c
sys/vm/swap_pager.c
sys/vm/vm_fault.c
sys/vm/vm_init.c
sys/vm/vm_pager.c
sys/vm/vm_pager.h
sys/vm/vnode_pager.c