summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-12 20:03:06 +0000
committerkib <kib@FreeBSD.org>2012-05-12 20:03:06 +0000
commit84b22557f61aea3e9486ebf03cd31188219e24e9 (patch)
treee49395509b9c0f699b6f813eb93b1ed7f810caed /sys/vm/vm_page.c
parent3a772ce0a64262ca826628f10e0ef71530545d74 (diff)
downloadFreeBSD-src-84b22557f61aea3e9486ebf03cd31188219e24e9.zip
FreeBSD-src-84b22557f61aea3e9486ebf03cd31188219e24e9.tar.gz
Make the vm_page_array_size long. Remove redundand zero initialization
for vm_page_array_size and nearby variablees. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 0055732..567e1a1 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -121,10 +121,10 @@ struct vpglocks vm_page_queue_free_lock;
struct vpglocks pa_lock[PA_LOCK_COUNT];
-vm_page_t vm_page_array = 0;
-int vm_page_array_size = 0;
-long first_page = 0;
-int vm_page_zero_count = 0;
+vm_page_t vm_page_array;
+long vm_page_array_size;
+long first_page;
+int vm_page_zero_count;
static int boot_pages = UMA_BOOT_PAGES;
TUNABLE_INT("vm.boot_pages", &boot_pages);
OpenPOWER on IntegriCloud