diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-06-09 20:30:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-06-09 20:30:26 +0000 |
commit | 2841d9faabe4c86665d799156297878ec3720e51 (patch) | |
tree | 3a96613ace1e9490f250100ba0b2002a60acc04b /share/man/man9 | |
parent | d8f4e7941f8eb932a31090a45c6ce1d41b93e1ec (diff) |
Define a new flag, UVM_FLAG_HOLE, for uvm_map to create a vm_map_entry of
a new etype, UVM_ET_HOLE, meaning it has no backend.
UVM_ET_HOLE entries (which should be created as UVM_PROT_NONE and with
UVM_FLAG_NOMERGE and UVM_FLAG_HOLE) are skipped in uvm_unmap_remove(), so
that pmap_{k,}remove() is not called on the entry.
This is intended to save time, and behave better, on pmaps with MMU holes
at process exit time.
ok art@, kettenis@ provided feedback as well.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/uvm.9 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9 index 3adb7515243..2381fc24b87 100644 --- a/share/man/man9/uvm.9 +++ b/share/man/man9/uvm.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uvm.9,v 1.34 2008/05/06 16:26:07 jmc Exp $ +.\" $OpenBSD: uvm.9,v 1.35 2008/06/09 20:30:22 miod Exp $ .\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green @@ -30,7 +30,7 @@ .\" XXX this manual sets nS to 1 or 0 in the description, to obtain .\" synopsis-like function prototypes. any better way? .\" -.Dd $Mdocdate: May 6 2008 $ +.Dd $Mdocdate: June 9 2008 $ .Dt UVM 9 .Os .Sh NAME @@ -257,6 +257,7 @@ can take are: #define UVM_FLAG_COPYONW 0x080000 /* set copy_on_write flag */ #define UVM_FLAG_AMAPPAD 0x100000 /* bss: pad amap to reduce malloc() */ #define UVM_FLAG_TRYLOCK 0x200000 /* fail if we can not lock map */ +#define UVM_FLAG_HOLE 0x400000 /* no backend */ .Ed .Pp The |