diff options
-rw-r--r-- | share/man/man9/uvm.9 | 24 | ||||
-rw-r--r-- | sys/uvm/uvm_extern.h | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9 index bbb44d5ab63..25926f37639 100644 --- a/share/man/man9/uvm.9 +++ b/share/man/man9/uvm.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uvm.9,v 1.19 2003/03/28 10:16:29 jmc Exp $ +.\" $OpenBSD: uvm.9,v 1.20 2003/05/01 09:29:02 jmc Exp $ .\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green @@ -108,7 +108,7 @@ processes are created. .Pp The .Fn uvm_setpagesize -function initialises the uvmexp members pagesize (if not already done by +function initialises the uvmexp members' pagesize (if not already done by machine-dependent code), pageshift and pagemask. It should be called by machine-dependent code early in the .Xr pmap_init 9 @@ -191,7 +191,7 @@ and is .Dv UVM_UNKNOWN_OFFSET , .Fn uvm_map -finds the offset based upon the virtual address, passed as +finds the offset based upon the virtual address, passed as .Fa startp . If .Fa uoffset @@ -292,7 +292,7 @@ The .Fn uvm_map_pageable_all function changes the pageability of all mapped regions. If -.Fa limit +.Fa limit is non-zero and .Fn pmap_wired_count is implemented, @@ -329,7 +329,7 @@ or .Pp The .Fn uvm_map_protect -function changes the protection +function changes the protection .Fa start to .Fa end @@ -592,7 +592,7 @@ The addresses of the submap can be specified exactly by setting the .Fa fixed argument to non-zero, which causes the .Fa min -argument specify the beginning of the address in thes submap. +argument to specify the beginning of the address in the submap. If .Fa fixed is zero, any address of size @@ -790,7 +790,7 @@ function swaps in the named process. .Pp The .Fn uao_create , -.Fn uao_detach +.Fn uao_detach and .Fn uao_reference functions operate on anonymous memory objects, such as those used to support @@ -873,7 +873,7 @@ and .Dv VM_UVMEXP calls, which return the current load averages, calculates current VM totals, and returns the uvmexp structure respectively. -The load averages are access from userland using the +The load averages are accessed from userland using the .Xr getloadavg 3 function. The uvmexp structure has all global state of the UVM system, and has @@ -950,7 +950,7 @@ int pdwoke; /* number of times daemon woke up */ int pdrevs; /* number of times daemon rev'd clock hand */ int pdswout; /* number of times daemon called for swapout */ int pdfreed; /* number of pages daemon freed since boot */ -int pdscans; /* number of pages daemon scaned since boot */ +int pdscans; /* number of pages daemon scanned since boot */ int pdanscan; /* number of anonymous pages scanned by daemon */ int pdobscan; /* number of object pages scanned by daemon */ int pdreact; /* number of pages daemon reactivated since boot */ @@ -1024,9 +1024,9 @@ and .Dv KERN_PAGES_LOCKED values are not actually returned by the UVM code. .Sh NOTES -The structure and types whose names begin with +The structure and types whose names begin with .Dq vm_ -were named so uvm could coexist with BSD VM during the early +were named so UVM could coexist with BSD VM during the early development stages. They will be renamed to .Dq uvm_ . @@ -1049,7 +1049,7 @@ new to .Bx including page loanout, map entry passing, simplified copy-on-write, and clustered anonymous memory pageout. -UVM is also further documented in a August 1998 dissertation +UVM is also further documented in an August 1998 dissertation by Charles D. Cranor. .Pp UVM appeared in diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h index f97a3c3da66..9741f4f9446 100644 --- a/sys/uvm/uvm_extern.h +++ b/sys/uvm/uvm_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_extern.h,v 1.47 2003/03/28 10:16:29 jmc Exp $ */ +/* $OpenBSD: uvm_extern.h,v 1.48 2003/05/01 09:29:02 jmc Exp $ */ /* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */ /* @@ -347,7 +347,7 @@ struct uvmexp { int pdrevs; /* number of times daemon rev'd clock hand */ int pdswout; /* number of times daemon called for swapout */ int pdfreed; /* number of pages daemon freed since boot */ - int pdscans; /* number of pages daemon scaned since boot */ + int pdscans; /* number of pages daemon scanned since boot */ int pdanscan; /* number of anonymous pages scanned by daemon */ int pdobscan; /* number of object pages scanned by daemon */ int pdreact; /* number of pages daemon reactivated since boot */ |