Specify PR_LARGECACHE for anon_cache (which is insanely busy).
This commit is contained in:
parent
73157b0e11
commit
9aef0fdbce
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_anon.c,v 1.48 2007/11/13 08:48:28 yamt Exp $ */
|
||||
/* $NetBSD: uvm_anon.c,v 1.49 2007/12/20 23:50:00 ad Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.48 2007/11/13 08:48:28 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.49 2007/12/20 23:50:00 ad Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
|
||||
@ -64,8 +64,9 @@ void
|
||||
uvm_anon_init(void)
|
||||
{
|
||||
|
||||
pool_cache_bootstrap(&uvm_anon_cache, sizeof(struct vm_anon), 0, 0, 0,
|
||||
"anonpl", NULL, IPL_NONE, uvm_anon_ctor, uvm_anon_dtor, NULL);
|
||||
pool_cache_bootstrap(&uvm_anon_cache, sizeof(struct vm_anon), 0, 0,
|
||||
PR_LARGECACHE, "anonpl", NULL, IPL_NONE, uvm_anon_ctor,
|
||||
uvm_anon_dtor, NULL);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user