summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-05-23 01:43:00 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-05-23 01:43:00 +0000
commit8f9f4d95ddc84b591a65ef7b37ecfb6a6c9c0f79 (patch)
tree054d89592b1adf617dd2590cffb3819a970791e4 /sys/uvm
parentafb92dda0b1d6cc187e1ddef7eb04d3f825c20ef (diff)
the simplelock is a lie
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_amap.c7
-rw-r--r--sys/uvm/uvm_extern.h3
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/uvm/uvm_amap.c b/sys/uvm/uvm_amap.c
index 9236427a12d..73184c14ded 100644
--- a/sys/uvm/uvm_amap.c
+++ b/sys/uvm/uvm_amap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_amap.c,v 1.46 2011/07/03 18:34:14 oga Exp $ */
+/* $OpenBSD: uvm_amap.c,v 1.47 2013/05/23 01:42:59 tedu Exp $ */
/* $NetBSD: uvm_amap.c,v 1.27 2000/11/25 06:27:59 chs Exp $ */
/*
@@ -53,8 +53,7 @@
#include <uvm/uvm_swap.h>
/*
- * pool for allocation of vm_map structures. note that the pool has
- * its own simplelock for its protection. also note that in order to
+ * pool for allocation of vm_map structures. note that in order to
* avoid an endless loop, the amap pool's allocator cannot allocate
* memory from an amap (it currently goes through the kernel uobj, so
* we are ok).
@@ -249,7 +248,7 @@ amap_alloc(vaddr_t sz, vaddr_t padsz, int waitf)
/*
* amap_free: free an amap
*
- * => the amap must be locked (mainly for simplelock accounting)
+ * => the amap must be locked
* => the amap should have a zero reference count and be empty
*/
void
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index 1a3b2193486..55679c9175c 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.106 2013/05/14 20:33:01 miod Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.107 2013/05/23 01:42:59 tedu Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -254,7 +254,6 @@ struct vmspace;
struct pmap;
struct vnode;
struct pool;
-struct simplelock;
/*
* uvm_constraint_range's: