summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-09-30 07:39:20 +0000
committerdt <dt@FreeBSD.org>1999-09-30 07:39:20 +0000
commit9b2e6d0ad7e0a536cb64dcb22393e9daf72465d2 (patch)
tree4381e2d407bb214657623c1d430d1f35fbd08b07 /sys/kern/vfs_bio.c
parentb99bff68d4cc21afd5c331e307a713a892af671c (diff)
downloadFreeBSD-src-9b2e6d0ad7e0a536cb64dcb22393e9daf72465d2.zip
FreeBSD-src-9b2e6d0ad7e0a536cb64dcb22393e9daf72465d2.tar.gz
Count bogus_page as wired.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 9de7200..1a2c09d 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -394,6 +394,7 @@ bufinit(void)
bogus_page = vm_page_alloc(kernel_object,
((bogus_offset - VM_MIN_KERNEL_ADDRESS) >> PAGE_SHIFT),
VM_ALLOC_NORMAL);
+ cnt.v_wire_count++;
}
OpenPOWER on IntegriCloud