Date: Sat, 13 May 1995 20:00:11 -0700 From: David Greenman <davidg> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c vm_extern.h vm_swap.c Message-ID: <199505140300.UAA20720@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
davidg 95/05/13 20:00:10 Modified: sys/i386/conf GENERIC LINT sys/i386/i386 autoconf.c sys/kern init_main.c sys/nfs nfs_vfsops.c sys/sys conf.h gmon.h param.h systm.h sys/vm swap_pager.c vm_extern.h vm_swap.c Log: 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505140300.UAA20720>