summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index fae3a643117..bd30a1b8611 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.75 2008/09/29 12:34:18 art Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.76 2008/10/05 11:12:19 miod Exp $ */
/*
* Copyright (c) 2008 Michael Shalayeff
@@ -164,7 +164,7 @@ malloc_page_free(struct pool *pp, void *v)
pg = PHYS_TO_VM_PAGE(pa);
if (pg == NULL)
panic("malloc_page_free: no page");
- pg->wire_count = 1;
+ pg->wire_count = 0;
uvm_km_putpage(v);
}