Module Name:    src
Committed By:   ad
Date:           Sat Apr  4 21:17:03 UTC 2020

Modified Files:
        src/sys/uvm: uvm_map.c

Log Message:
Mark uvm_map_entry_cache with PR_LARGECACHE.


To generate a diff of this commit:
cvs rdiff -u -r1.376 -r1.377 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.376 src/sys/uvm/uvm_map.c:1.377
--- src/sys/uvm/uvm_map.c:1.376	Sun Mar 22 18:32:42 2020
+++ src/sys/uvm/uvm_map.c	Sat Apr  4 21:17:02 2020
@@ -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 @@ uvm_map_init_caches(void)
 	 */
 
 	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);
 }

Reply via email to