1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
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
..
alpha/include Third round in syscons update. 1995-01-28 22:18:05 +00:00
amd64 Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
compile
conf Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
ddb Fixed the formatting breakage I added in the previous commit. 1995-04-04 01:35:33 +00:00
dev Only use card's soft-configured irq if no irq was specified in the kernel 1995-05-12 22:39:40 +00:00
fs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
gnu Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
i386 Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
isa Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
isofs/cd9660 Readdir on a CDrom would return bogus "d_type" values, potentially confusing 1995-03-28 07:46:38 +00:00
kern Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
libkern Do not install libkern into /usr/lib, blank target install: added. 1995-03-23 07:02:14 +00:00
miscfs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
modules Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically 1995-04-15 17:36:53 +00:00
msdosfs Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu> 1995-05-09 16:30:45 +00:00
net Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
netccitt Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
netinet Fix getsockopt(IP_ACCT_*) to not panic kernel 1995-05-12 20:00:21 +00:00
netiso Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
netns Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
nfs Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsclient Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsserver Slight re-ordering of the creation of a vmio object to fix a condition 1995-04-21 02:58:49 +00:00
pci Fixed mbuf leak and panic that occurred when packets got too memory 1995-05-05 20:09:51 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc
scsi Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
sys Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
tools
ufs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
vm Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
Makefile