View | Details | Raw Unified | Return to bug 241048 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/vm/vm_page.c (+3 lines)
Lines 224-232 vm_page_init_cache_zones(void *dummy __unused) Link Here
224
		 * memory.  A UMA bucket contains at most 256 free pages, and we
224
		 * memory.  A UMA bucket contains at most 256 free pages, and we
225
		 * have two buckets per CPU per free pool.
225
		 * have two buckets per CPU per free pool.
226
		 */
226
		 */
227
		printf("%s:%d domain %d ncpus %d page count %u\n", __func__, __LINE__,
228
		    domain, mp_ncpus, vmd->vmd_page_count);
227
		if (vmd->vmd_page_count / 600 < 2 * 256 * mp_ncpus *
229
		if (vmd->vmd_page_count / 600 < 2 * 256 * mp_ncpus *
228
		    VM_NFREEPOOL)
230
		    VM_NFREEPOOL)
229
			continue;
231
			continue;
232
		printf("%s:%d allocating page caches\n", __func__, __LINE__);
230
		for (pool = 0; pool < VM_NFREEPOOL; pool++) {
233
		for (pool = 0; pool < VM_NFREEPOOL; pool++) {
231
			pgcache = &vmd->vmd_pgcache[pool];
234
			pgcache = &vmd->vmd_pgcache[pool];
232
			pgcache->domain = domain;
235
			pgcache->domain = domain;

Return to bug 241048