Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Mark uvm_map_entry_cache with PR_LARGECACHE.



details:   https://anonhg.NetBSD.org/src/rev/1d3fe307f407
branches:  trunk
changeset: 1008879:1d3fe307f407
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Apr 04 21:17:02 2020 +0000

description:
Mark uvm_map_entry_cache with PR_LARGECACHE.

diffstat:

 sys/uvm/uvm_map.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 82d565e7e4d0 -r 1d3fe307f407 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sat Apr 04 21:15:04 2020 +0000
+++ b/sys/uvm/uvm_map.c Sat Apr 04 21:17:02 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.376 2020/03/22 18:32:42 ad Exp $ */
+/*     $NetBSD: uvm_map.c,v 1.377 2020/04/04 21:17:02 ad Exp $ */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.376 2020/03/22 18:32:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.377 2020/04/04 21:17:02 ad Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -938,7 +938,8 @@
         */
 
        pool_cache_bootstrap(&uvm_map_entry_cache, sizeof(struct vm_map_entry),
-           coherency_unit, 0, 0, "vmmpepl", NULL, IPL_NONE, NULL, NULL, NULL);
+           coherency_unit, 0, PR_LARGECACHE, "vmmpepl", NULL, IPL_NONE, NULL,
+           NULL, NULL);
        pool_cache_bootstrap(&uvm_vmspace_cache, sizeof(struct vmspace),
            0, 0, 0, "vmsppl", NULL, IPL_NONE, NULL, NULL, NULL);
 }



Home | Main Index | Thread Index | Old Index