Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm G/C USE_TOPDOWN_VM. __USE_TOPDOWN_VM is used (and h...



details:   https://anonhg.NetBSD.org/src/rev/db65623d86f4
branches:  trunk
changeset: 936794:db65623d86f4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 04 06:10:27 2020 +0000

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

diffstat:

 share/man/man4/options.4 |  25 ++-----------------------
 sys/uvm/files.uvm        |   4 ++--
 2 files changed, 4 insertions(+), 25 deletions(-)

diffs (64 lines):

diff -r 66ce143ab28b -r db65623d86f4 share/man/man4/options.4
--- a/share/man/man4/options.4  Tue Aug 04 04:22:02 2020 +0000
+++ b/share/man/man4/options.4  Tue Aug 04 06:10:27 2020 +0000
@@ -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 @@
 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.
diff -r 66ce143ab28b -r db65623d86f4 sys/uvm/files.uvm
--- a/sys/uvm/files.uvm Tue Aug 04 04:22:02 2020 +0000
+++ b/sys/uvm/files.uvm Tue Aug 04 06:10:27 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index