Module Name: src Committed By: cherry Date: Mon Jan 2 21:42:01 UTC 2017
Modified Files: src/share/man/man9: uvm.9 Log Message: Document sys/uvm/uvm_init.c:uvm_md_init() To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/share/man/man9/uvm.9 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/man9/uvm.9 diff -u src/share/man/man9/uvm.9:1.110 src/share/man/man9/uvm.9:1.111 --- src/share/man/man9/uvm.9:1.110 Mon Mar 23 08:19:12 2015 +++ src/share/man/man9/uvm.9 Mon Jan 2 21:42:01 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: uvm.9,v 1.110 2015/03/23 08:19:12 riastradh Exp $ +.\" $NetBSD: uvm.9,v 1.111 2017/01/02 21:42:01 cherry Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green .\" All rights reserved. @@ -92,9 +92,15 @@ initializes process limits for the named This is for use by the system startup for process zero, before any other processes are created. .Pp +.Fn uvm_md_init +does early boot initialization. This currently includes: .Fn uvm_setpagesize -initializes the uvmexp members pagesize (if not already done by +which initializes the uvmexp members pagesize (if not already done by machine-dependent code), pageshift and pagemask. +.Fn uvm_physseg_init +which initialises the +.Xr uvm_hotplug 9 +subsystem. It should be called by machine-dependent code early in the .Fn pmap_init call (see