1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/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 These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
kern_lock.c Moved some zero-initialized variables into .bss. Made code intended to be 1995-04-16 12:56:22 +00:00
lock.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
pmap.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
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 Removed obsolete/unused variable declarations. Killed externs and included 1995-04-16 14:12:15 +00:00
vm_glue.c Moved some zero-initialized variables into .bss. Made code intended to be 1995-04-16 12:56:22 +00:00
vm_inherit.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
vm_init.c Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
vm_kern.c Special cased the handling of mb_map in the M_WAITOK case. kmem_malloc() 1995-03-15 07:52:06 +00:00
vm_kern.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
vm_map.c Moved some zero-initialized variables into .bss. Made code intended to be 1995-04-16 12:56:22 +00:00
vm_map.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
vm_meter.c Fixed some formatting weirdness that I overlooked in the previous commit. 1995-01-10 07:32:52 +00:00
vm_mmap.c Moved some zero-initialized variables into .bss. Made code intended to be 1995-04-16 12:56:22 +00:00
vm_object.c Changed object hash list to be a list rather than a tailq. This saves 1995-05-02 05:57:11 +00:00
vm_object.h Changed object hash list to be a list rather than a tailq. This saves 1995-05-02 05:57:11 +00:00
vm_page.c Moved some zero-initialized variables into .bss. Made code intended to be 1995-04-16 12:56:22 +00:00
vm_page.h inline -> __inline. 1995-04-23 08:05:49 +00:00
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 Changes from John Dyson and myself: 1995-04-09 06:03:56 +00:00
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 These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
vm_prot.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
vm_swap.c Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
vm_unix.c Stop using vm_allocate and vm_deallocate. 1995-02-20 17:36:36 +00:00
vm_user.c Removed vm_allocate(), vm_deallocate(), and vm_protect() functions. The 1995-02-20 23:58:10 +00:00
vm_vmio.c John Dyson's work in progress. Not currently used. 1994-10-04 07:32:08 +00:00
vm.h These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
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 These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00