HardenedBSD/sys/vm
David Greenman a401ebbe32 Changed swap partition handling/allocation so that it doesn't
require specific partitions be mentioned in the kernel config
file ("swap on foo" is now obsolete).

From Poul-Henning:

The visible effect is this:

As default, unless
        options "NSWAPDEV=23"
is in your config, you will have four swap-devices.
You can swapon(2) any block device you feel like, it doesn't have
to be in the kernel config.

There is a performance/resource win available by getting the NSWAPDEV right
(but only if you have just one swap-device ??), but using that as default
would be too restrictive.

The invisible effect is that:

Swap-handling disappears from the $arch part of the kernel.
It gets a lot simpler (-145 lines) and cleaner.

Reviewed by:	John Dyson, David Greenman
Submitted by:	Poul-Henning Kamp, with minor changes by me.
1995-05-14 03:00:10 +00:00
..
device_pager.c Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
device_pager.h
kern_lock.c
lock.h
pmap.h
swap_pager.c Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
swap_pager.h Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
vm_extern.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
vm_fault.c
vm_glue.c
vm_inherit.h
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c
vm_mmap.c
vm_object.c
vm_object.h
vm_page.c
vm_page.h
vm_pageout.c Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
vm_pageout.h
vm_pager.c Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
vm_pager.h Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
vm_param.h
vm_prot.h
vm_swap.c Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
vm_unix.c
vm_user.c
vm_vmio.c
vm.h
vnode_pager.c Changed "handle" from type caddr_t to void *; "handle" is several different 1995-05-10 18:56:09 +00:00
vnode_pager.h