summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_extern.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-04-20 00:30:19 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-04-20 00:30:19 +0000
commit7720807a1d9f91f5c0f47d6b1be219d913aef6ac (patch)
treed3c35c0fc9830b368b96d5356751a972cd2ad0d8 /sys/uvm/uvm_extern.h
parent170f6c5d952842275deb05d0ec25ff27f3e4c339 (diff)
add the UVM_PLA_ZERO flag for uvm_pglistalloc to make it return zeroed
pages. "go for it" miod@
Diffstat (limited to 'sys/uvm/uvm_extern.h')
-rw-r--r--sys/uvm/uvm_extern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index 95cd3fa3fe2..5ff1e2ddad2 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.75 2009/04/14 16:01:04 oga Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.76 2009/04/20 00:30:18 oga Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -225,6 +225,7 @@ typedef int vm_prot_t;
*/
#define UVM_PLA_WAITOK 0x0001 /* may sleep */
#define UVM_PLA_NOWAIT 0x0002 /* can't sleep (need one of the two) */
+#define UVM_PLA_ZERO 0x0004 /* zero all pages before returning */
/*
* lockflags that control the locking behavior of various functions.