summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 784a5c0..0c93f80 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -587,9 +587,8 @@ bufinit(void)
vm_object_lock(kernel_object);
bogus_page = vm_page_alloc(kernel_object,
((bogus_offset - VM_MIN_KERNEL_ADDRESS) >> PAGE_SHIFT),
- VM_ALLOC_NORMAL);
+ VM_ALLOC_NORMAL | VM_ALLOC_WIRED);
vm_object_unlock(kernel_object);
- cnt.v_wire_count++;
}
/*
OpenPOWER on IntegriCloud