diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-06-10 20:36:41 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-06-10 20:36:41 +0000 |
commit | 67a527d0c50ebba9d5f2756a2ca616a366fcda18 (patch) | |
tree | ce33756a4f60790cb58c6816da2d92379502b201 /sys/uvm/uvm_pmemrange.h | |
parent | 3db0d6c8b9c40479e8c2102f57684da0aecf0ddb (diff) |
Fix: Clean and dirty pages had the memtype ids and the desparate case failed
to function properly in the fast-allocation path (should not have triggered).
ok: oga, deraadt
Diffstat (limited to 'sys/uvm/uvm_pmemrange.h')
-rw-r--r-- | sys/uvm/uvm_pmemrange.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmemrange.h b/sys/uvm/uvm_pmemrange.h index 90219dc075b..38f7cc1c2c3 100644 --- a/sys/uvm/uvm_pmemrange.h +++ b/sys/uvm/uvm_pmemrange.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmemrange.h,v 1.1 2009/06/01 17:42:33 ariane Exp $ */ +/* $OpenBSD: uvm_pmemrange.h,v 1.2 2009/06/10 20:36:40 ariane Exp $ */ /* * Copyright (c) 2009 Ariane van der Steldt <ariane@stack.nl> @@ -34,7 +34,7 @@ RB_HEAD(uvm_pmr_size, vm_page); * - DIRTY: this page may contain random data. * - ZERO: this page has been zeroed. */ -#define UVM_PMR_MEMTYPE_DIRTY 1 +#define UVM_PMR_MEMTYPE_DIRTY 0 #define UVM_PMR_MEMTYPE_ZERO 1 #define UVM_PMR_MEMTYPE_MAX 2 |