Date: Wed, 8 Nov 2006 19:16:19 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109544 for review Message-ID: <200611081916.kA8JGJuq048896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109544 Change 109544 by jhb@jhb_mutex on 2006/11/08 19:15:50 IFC @109542. Affected files ... .. //depot/projects/smpng/sys/vm/vm_page.c#86 integrate Differences ... ==== //depot/projects/smpng/sys/vm/vm_page.c#86 (text+ko) ==== @@ -97,7 +97,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/vm/vm_page.c,v 1.331 2006/11/08 18:43:47 alc Exp $"); +__FBSDID("$FreeBSD: src/sys/vm/vm_page.c,v 1.332 2006/11/08 19:11:54 alc Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -320,6 +320,12 @@ phys_avail[biggestone + 1] = new_end; /* + * Clear all of the page structures + */ + bzero((caddr_t) vm_page_array, page_range * sizeof(struct vm_page)); + vm_page_array_size = page_range; + + /* * This assertion tests the hypothesis that npages and total are * redundant. XXX */ @@ -330,12 +336,6 @@ ("vm_page_startup: inconsistent page counts")); /* - * Clear all of the page structures - */ - bzero((caddr_t) vm_page_array, page_range * sizeof(struct vm_page)); - vm_page_array_size = page_range; - - /* * Construct the free queue(s) in descending order (by physical * address) so that the first 16MB of physical memory is allocated * last rather than first. On large-memory machines, this avoids
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611081916.kA8JGJuq048896>