aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-11-02 22:39:30 +0000
committerAlan Cox <alc@FreeBSD.org>2002-11-02 22:39:30 +0000
commit02af9de6fcd747806c2385f0999781274f5162f3 (patch)
treec89b3e3ebadfd67dc5a742e72118ece93a2e2d7e /sys/vm/vm_page.c
parentce494452fea8f964a4317445ee151f8b9d0cedfc (diff)
downloadsrc-02af9de6fcd747806c2385f0999781274f5162f3.tar.gz
src-02af9de6fcd747806c2385f0999781274f5162f3.zip
Remove the vm page buckets mutex. As of revision 1.215 of vm/vm_page.c,
it is unused.
Notes
Notes: svn path=/head/; revision=106359
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 c207da4cc380..46b755647a22 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++) {