Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Mark amappl with PR_LARGECACHE.
details: https://anonhg.NetBSD.org/src/rev/488bbfdda6e7
branches: trunk
changeset: 932913:488bbfdda6e7
user: ad <ad%NetBSD.org@localhost>
date: Sun May 17 15:07:22 2020 +0000
description:
Mark amappl with PR_LARGECACHE.
diffstat:
sys/uvm/uvm_amap.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 339dec025de9 -r 488bbfdda6e7 sys/uvm/uvm_amap.c
--- a/sys/uvm/uvm_amap.c Sun May 17 14:15:55 2020 +0000
+++ b/sys/uvm/uvm_amap.c Sun May 17 15:07:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_amap.c,v 1.119 2020/03/20 19:08:54 ad Exp $ */
+/* $NetBSD: uvm_amap.c,v 1.120 2020/05/17 15:07:22 ad Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.119 2020/03/20 19:08:54 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.120 2020/05/17 15:07:22 ad Exp $");
#include "opt_uvmhist.h"
@@ -305,8 +305,9 @@
mutex_init(&amap_list_lock, MUTEX_DEFAULT, IPL_NONE);
- pool_cache_bootstrap(&uvm_amap_cache, sizeof(struct vm_amap), 0, 0, 0,
- "amappl", NULL, IPL_NONE, amap_ctor, amap_dtor, NULL);
+ pool_cache_bootstrap(&uvm_amap_cache, sizeof(struct vm_amap), 0, 0,
+ PR_LARGECACHE, "amappl", NULL, IPL_NONE, amap_ctor, amap_dtor,
+ NULL);
}
/*
Home |
Main Index |
Thread Index |
Old Index