Module Name:    src
Committed By:   skrll
Date:           Tue Aug  4 06:10:27 UTC 2020

Modified Files:
        src/share/man/man4: options.4
        src/sys/uvm: files.uvm

Log Message:
G/C USE_TOPDOWN_VM.  __USE_TOPDOWN_VM is used (and hidden)


To generate a diff of this commit:
cvs rdiff -u -r1.513 -r1.514 src/share/man/man4/options.4
cvs rdiff -u -r1.35 -r1.36 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/share/man/man4/options.4
diff -u src/share/man/man4/options.4:1.513 src/share/man/man4/options.4:1.514
--- src/share/man/man4/options.4:1.513	Sat Aug  1 08:20:47 2020
+++ src/share/man/man4/options.4	Tue Aug  4 06:10:27 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: options.4,v 1.513 2020/08/01 08:20:47 maxv Exp $
+.\"	$NetBSD: options.4,v 1.514 2020/08/04 06:10:27 skrll Exp $
 .\"
 .\" Copyright (c) 1996
 .\" 	Perry E. Metzger.  All rights reserved.
@@ -30,7 +30,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd August 1, 2020
+.Dd August 4, 2020
 .Dt OPTIONS 4
 .Os
 .Sh NAME
@@ -2190,27 +2190,6 @@ Note that this sets the value of the
 variable which may be changed at run time \(em see
 .Xr sysctl 8
 for details.
-.It Cd options USE_TOPDOWN_VM
-User space memory allocations (as made by
-.Xr mmap 2 )
-will be arranged in a
-.Dq top down
-fashion instead of the traditional
-.Dq upwards from MAXDSIZ \&+ vm_daddr
-method.
-This includes the placement of
-.Xr ld.so 1 .
-Arranging memory in this manner allows either (or both of) the heap or
-.Xr mmap 2
-allocated space to grow larger than traditionally possible.
-This option is not available on all ports, but is instead expected to be
-offered on a port-by-port basis, after which some ports will commit to
-using it by default.
-See the files
-.Pa /usr/include/uvm/uvm_param.h
-for some implementation details, and
-.Pa /usr/include/machine/vmparam.h
-for port specific details including availability.
 .It Cd options VMSWAP
 Enable paging device/file support.
 This option is on by default.

Index: src/sys/uvm/files.uvm
diff -u src/sys/uvm/files.uvm:1.35 src/sys/uvm/files.uvm:1.36
--- src/sys/uvm/files.uvm:1.35	Mon Jun 29 23:33:46 2020
+++ src/sys/uvm/files.uvm	Tue Aug  4 06:10:27 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: files.uvm,v 1.35 2020/06/29 23:33:46 riastradh Exp $
+#	$NetBSD: files.uvm,v 1.36 2020/08/04 06:10:27 skrll Exp $
 
 #
 # UVM options
@@ -6,7 +6,7 @@
 defflag opt_uvmhist.h		UVMHIST: KERNHIST
 defflag opt_uvmhist.h		UVMHIST_PRINT: KERNHIST_PRINT
 defparam opt_uvmhist.h		UVMHIST_MAPHIST_SIZE UVMHIST_PDHIST_SIZE
-defflag opt_uvm.h		USE_TOPDOWN_VM UVMMAP_COUNTERS
+defflag opt_uvm.h		UVMMAP_COUNTERS
 defparam opt_uvm.h		UVM_RESERVED_PAGES_PER_CPU
 defflag opt_vmswap.h		VMSWAP : aes
 defflag opt_readahead.h		READAHEAD_STATS

Reply via email to