summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-18 17:05:05 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-18 17:05:05 +0000
commit32b26d8292ed92f2d5bd59e66821a73b80a71ca9 (patch)
tree4c5490a40c8e99b5184e9a70bdd5bdf2d6310dcd
parent1bab3dfb567e427756e0f7f645b27815bdac8930 (diff)
splimp -> splvm. no binary diff.
ok mickey@
-rw-r--r--sys/arch/i386/i386/pmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 22f2ef6253d..8721bf2bebf 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.84 2005/11/13 14:23:26 martin Exp $ */
+/* $OpenBSD: pmap.c,v 1.85 2005/11/18 17:05:04 brad Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -1306,7 +1306,7 @@ pmap_alloc_pvpage(pmap, mode)
* if not, try to allocate one.
*/
- s = splimp(); /* must protect kmem_map/kmem_object with splimp! */
+ s = splvm(); /* must protect kmem_map/kmem_object with splvm! */
if (pv_cachedva == 0) {
pv_cachedva = uvm_km_kmemalloc(kmem_map, uvmexp.kmem_object,
NBPG, UVM_KMF_TRYLOCK|UVM_KMF_VALLOC);
@@ -1318,7 +1318,7 @@ pmap_alloc_pvpage(pmap, mode)
/*
* we have a VA, now let's try and allocate a page in the object
- * note: we are still holding splimp to protect kmem_object
+ * note: we are still holding splvm to protect kmem_object
*/
if (!simple_lock_try(&uvmexp.kmem_object->vmobjlock)) {
@@ -1334,7 +1334,7 @@ pmap_alloc_pvpage(pmap, mode)
simple_unlock(&uvmexp.kmem_object->vmobjlock);
splx(s);
- /* splimp now dropped */
+ /* splvm now dropped */
if (pg == NULL)
goto steal_one;
@@ -1966,7 +1966,7 @@ pmap_pinit(pmap)
/*
* we need to lock pmaps_lock to prevent nkpde from changing on
- * us. note that there is no need to splimp to protect us from
+ * us. note that there is no need to splvm to protect us from
* malloc since malloc allocates out of a submap and we should have
* already allocated kernel PTPs to cover the range...
*/