summaryrefslogtreecommitdiffstats
path: root/sys/sys/conf.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-05-14 03:00:10 +0000
committerdg <dg@FreeBSD.org>1995-05-14 03:00:10 +0000
commitb649d7b9c7fc4e854447610d77a8f589d6d879df (patch)
treee3f8adb9c567dce966929b13f5ef9bc8016008d6 /sys/sys/conf.h
parent8f5311b61712fdd904658b7a56c5832f71bffcab (diff)
downloadFreeBSD-src-b649d7b9c7fc4e854447610d77a8f589d6d879df.zip
FreeBSD-src-b649d7b9c7fc4e854447610d77a8f589d6d879df.tar.gz
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.
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r--sys/sys/conf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 3619cc1..10fbbd3a 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.12 1995/04/23 09:36:59 bde Exp $
+ * $Id: conf.h,v 1.13 1995/05/12 19:17:24 wollman Exp $
*/
#ifndef _SYS_CONF_H_
@@ -138,7 +138,6 @@ struct swdevt {
#define sw_freed sw_flags /* XXX compat */
#ifdef KERNEL
-extern struct swdevt swdevt[];
extern int setdumpdev __P((dev_t));
dev_t chrtoblk __P((dev_t dev));
OpenPOWER on IntegriCloud