Module Name: src
Committed By: matt
Date: Sun Aug 9 21:58:03 UTC 2009
Modified Files:
src/sys/conf: std
src/sys/uvm: files.uvm
Log Message:
Add [default] option to make UAREAs swappable. Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/conf/std
cvs rdiff -u -r1.14 -r1.15 src/sys/uvm/files.uvm
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/std
diff -u src/sys/conf/std:1.10 src/sys/conf/std:1.11
--- src/sys/conf/std:1.10 Fri Nov 14 23:28:30 2008
+++ src/sys/conf/std Sun Aug 9 21:58:03 2009
@@ -1,4 +1,4 @@
-# $NetBSD: std,v 1.10 2008/11/14 23:28:30 ad Exp $
+# $NetBSD: std,v 1.11 2009/08/09 21:58:03 matt Exp $
#
# standard MI 'options'
#
@@ -8,6 +8,7 @@
# the following options are on-by-default to keep
# kernel config file compatibility.
options VMSWAP # Swap device/file support
+options VMSWAP_UAREA # Swap uarea's
options BUFQ_FCFS # First-come First-serve strategy
options BUFQ_DISKSORT # Traditional min seek sort strategy
options RFC2292 # Previous version of Adv. Sockets API for IPv6
Index: src/sys/uvm/files.uvm
diff -u src/sys/uvm/files.uvm:1.14 src/sys/uvm/files.uvm:1.15
--- src/sys/uvm/files.uvm:1.14 Sun Jun 28 15:18:50 2009
+++ src/sys/uvm/files.uvm Sun Aug 9 21:58:03 2009
@@ -1,11 +1,11 @@
-# $NetBSD: files.uvm,v 1.14 2009/06/28 15:18:50 rmind Exp $
+# $NetBSD: files.uvm,v 1.15 2009/08/09 21:58:03 matt Exp $
#
# UVM options
#
defflag opt_uvmhist.h UVMHIST UVMHIST_PRINT
defflag opt_uvm.h USE_TOPDOWN_VM UVMMAP_COUNTERS
-defflag opt_vmswap.h VMSWAP
+defflag opt_vmswap.h VMSWAP VMSWAP_UAREA
defflag opt_readahead.h READAHEAD_STATS
defflag opt_ubc.h UBC_STATS
defparam opt_pagermap.h PAGER_MAP_SIZE