summaryrefslogtreecommitdiff
path: root/sys/kern/subr_extent.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:59:26 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:59:26 +0000
commitfb895669d69e531596c6b2397db03d4016f12838 (patch)
tree188ed0b07cbae566da132c2dd084be8b85f72cbb /sys/kern/subr_extent.c
parent48b4e0ec8cdffa081ec73a39d1662a7227a591aa (diff)
splvm, not splimp.
Diffstat (limited to 'sys/kern/subr_extent.c')
-rw-r--r--sys/kern/subr_extent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 03c8447f202..0c99565ae7e 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.21 2002/03/21 16:24:16 jason Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.22 2002/06/11 05:59:25 art Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -1058,7 +1058,7 @@ extent_alloc_region_descriptor(ex, flags)
}
alloc:
- s = splimp();
+ s = splvm();
rp = pool_get(&ex_region_pl, (flags & EX_WAITOK) ? PR_WAITOK : 0);
splx(s);
if (rp != NULL)
@@ -1090,7 +1090,7 @@ extent_free_region_descriptor(ex, rp)
er_link);
goto wake_em_up;
} else {
- s = splimp();
+ s = splvm();
pool_put(&ex_region_pl, rp);
splx(s);
}
@@ -1111,7 +1111,7 @@ extent_free_region_descriptor(ex, rp)
/*
* We know it's dynamically allocated if we get here.
*/
- s = splimp();
+ s = splvm();
pool_put(&ex_region_pl, rp);
splx(s);
}