summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-12-24 10:10:50 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-12-24 10:10:50 +0000
commitc2b12423b94d84aa5bc425fe24977bd14e3bec43 (patch)
treeab3f4be0a5f162931e5d8c29359018f52393fb46
parent6298255c9876317cb823ba192af6ae5050f52074 (diff)
Initialize mips64 pmap pool using IPL_VM.
This moves the pmap closer to MP-safety. A similar change has already been made on some other architectures.
-rw-r--r--sys/arch/mips64/mips64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/pmap.c b/sys/arch/mips64/mips64/pmap.c
index 72c471a5139..371d1fb3d87 100644
--- a/sys/arch/mips64/mips64/pmap.c
+++ b/sys/arch/mips64/mips64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.114 2019/12/20 13:27:41 visa Exp $ */
+/* $OpenBSD: pmap.c,v 1.115 2020/12/24 10:10:49 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -394,7 +394,7 @@ pmap_bootstrap(void)
Sysmap = (pt_entry_t *)
uvm_pageboot_alloc(sizeof(pt_entry_t) * Sysmapsize);
- pool_init(&pmap_pmap_pool, PMAP_SIZEOF(ncpusfound), 0, IPL_NONE, 0,
+ pool_init(&pmap_pmap_pool, PMAP_SIZEOF(ncpusfound), 0, IPL_VM, 0,
"pmappl", NULL);
pool_init(&pmap_pv_pool, sizeof(struct pv_entry), 0, IPL_VM, 0,
"pvpl", NULL);