diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-11-29 00:26:43 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-11-29 00:26:43 +0000 |
commit | d65e84ad15428b7563dca52e708ccbf2946289b8 (patch) | |
tree | 88ffb342d6ba1b73edd0b80e562d1a5cd06e76a2 /sys/uvm/uvm.h | |
parent | 59aca508789dde53b78892994f12f046d0298f11 (diff) |
use a working mutex for the freepage list. ok art deraadt
Diffstat (limited to 'sys/uvm/uvm.h')
-rw-r--r-- | sys/uvm/uvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h index 3cfb93737f8..ec01125d36e 100644 --- a/sys/uvm/uvm.h +++ b/sys/uvm/uvm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm.h,v 1.21 2007/06/18 21:51:15 pedro Exp $ */ +/* $OpenBSD: uvm.h,v 1.22 2007/11/29 00:26:41 tedu Exp $ */ /* $NetBSD: uvm.h,v 1.24 2000/11/27 08:40:02 chs Exp $ */ /* @@ -81,7 +81,7 @@ struct uvm { struct pglist page_inactive_swp;/* pages inactive (reclaim or free) */ struct pglist page_inactive_obj;/* pages inactive (reclaim or free) */ simple_lock_data_t pageqlock; /* lock for active/inactive page q */ - simple_lock_data_t fpageqlock; /* lock for free page q */ + struct mutex fpageqlock; /* lock for free page q */ boolean_t page_init_done; /* TRUE if uvm_page_init() finished */ boolean_t page_idle_zero; /* TRUE if we should try to zero pages in the idle loop */ |