Date: Mon, 11 Jun 2012 20:58:24 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r236920 - stable/9/sys/vm Message-ID: <201206112058.q5BKwO5R009580@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Jun 11 20:58:23 2012 New Revision: 236920 URL: http://svn.freebsd.org/changeset/base/236920 Log: MFC r235356: Make the vm_page_array_size long. Remove redundand zero initialization for vm_page_array_size and nearby variables. MFC r235359: Commit the change forgotten in r235356. Modified: stable/9/sys/vm/vm_page.c stable/9/sys/vm/vm_page.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/vm/vm_page.c ============================================================================== --- stable/9/sys/vm/vm_page.c Mon Jun 11 20:27:52 2012 (r236919) +++ stable/9/sys/vm/vm_page.c Mon Jun 11 20:58:23 2012 (r236920) @@ -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); Modified: stable/9/sys/vm/vm_page.h ============================================================================== --- stable/9/sys/vm/vm_page.h Mon Jun 11 20:27:52 2012 (r236919) +++ stable/9/sys/vm/vm_page.h Mon Jun 11 20:58:23 2012 (r236920) @@ -312,7 +312,7 @@ struct vnode; extern int vm_page_zero_count; extern vm_page_t vm_page_array; /* First resident page in table */ -extern int vm_page_array_size; /* number of vm_page_t's */ +extern long vm_page_array_size; /* number of vm_page_t's */ extern long first_page; /* first physical page number */ #define VM_PAGE_IS_FREE(m) (((m)->flags & PG_FREE) != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206112058.q5BKwO5R009580>