freebsd-dev/sys/i386
Seigo Tanimura 21cd6e6232 - If swap metadata does not fit into the KVM, reduce the number of
struct swblock entries by dividing the number of the entries by 2
until the swap metadata fits.

- Reject swapon(2) upon failure of swap_zone allocation.

This is just a temporary fix. Better solutions include:
(suggested by:	dillon)

o reserving swap in SWAP_META_PAGES chunks, and
o swapping the swblock structures themselves.

Reviewed by:	alfred, dillon
2000-12-13 10:01:00 +00:00
..
acpica FreeBSD-specific OSD (operating system dependant) modules for the Intel 2000-10-28 06:56:15 +00:00
apm Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
bios Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
conf Remove the COMPAT_OLDPCI option, it's going away. 2000-12-13 01:11:34 +00:00
i386 - If swap metadata does not fit into the KVM, reduce the number of 2000-12-13 10:01:00 +00:00
ibcs2 - Change the allproc_lock to use a macro, ALLPROC_LOCK(how), instead 2000-12-13 00:17:05 +00:00
include Introduce a new potientially cleaner interface for accessing per-cpu 2000-12-13 09:23:53 +00:00
isa Introduce a new potientially cleaner interface for accessing per-cpu 2000-12-13 09:23:53 +00:00
linux Remove after repo-copy to sys/compat/linprocfs. 2000-12-12 22:01:59 +00:00
pci Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
svr4 Don't use p->p_sigstk.ss_flags to keep state of whether the 2000-11-30 05:23:49 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00