From owner-cvs-sys Sat May 13 20:00:20 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA20731 for cvs-sys-outgoing; Sat, 13 May 1995 20:00:20 -0700 Received: (from root@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA20720 ; Sat, 13 May 1995 20:00:11 -0700 Date: Sat, 13 May 1995 20:00:11 -0700 From: David Greenman Message-Id: <199505140300.UAA20720@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c vm_extern.h vm_swap.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk 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.