summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-11-02 22:39:30 +0000
committeralc <alc@FreeBSD.org>2002-11-02 22:39:30 +0000
commit039aae167e8b85ad64573e2bce01575cf7d8e6e9 (patch)
treec89b3e3ebadfd67dc5a742e72118ece93a2e2d7e /sys/vm/vm_page.c
parent9993f8dc87ee9aa88f752e437dc2a27a8fe1362d (diff)
downloadFreeBSD-src-039aae167e8b85ad64573e2bce01575cf7d8e6e9.zip
FreeBSD-src-039aae167e8b85ad64573e2bce01575cf7d8e6e9.tar.gz
Remove the vm page buckets mutex. As of revision 1.215 of vm/vm_page.c,
it is unused.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index c207da4..46b7556 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -125,7 +125,6 @@
* Associated with page of user-allocatable memory is a
* page structure.
*/
-static struct mtx vm_page_buckets_mtx;
static struct vm_page **vm_page_buckets; /* Array of buckets */
static int vm_page_bucket_count; /* How big is array? */
static int vm_page_hash_mask; /* Mask for hash function */
@@ -263,7 +262,6 @@ vm_page_startup(vm_offset_t starta, vm_offset_t enda, vm_offset_t vaddr)
VM_PROT_READ | VM_PROT_WRITE);
bzero((caddr_t) mapped, end - new_end);
- mtx_init(&vm_page_buckets_mtx, "vm page buckets mutex", NULL, MTX_SPIN);
vm_page_buckets = (struct vm_page **)mapped;
bucket = vm_page_buckets;
for (i = 0; i < vm_page_bucket_count; i++) {
OpenPOWER on IntegriCloud