summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-04 11:51:30 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-04 11:51:30 +0000
commitac61b4b278d2e34ea7be0090bf8cb2f0ab4929ac (patch)
treeb5d230af0fad842beb2752c7de08af97b4b79194 /sys/compat
parentfa99982ecabdcd1f4053d431b5045ddf6e56b21b (diff)
The futex_pool and futex_wp_pool pools never get used in interrupt context.
ok mlarkin@
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_futex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index 3147f4beb7e..89f57fde583 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_futex.c,v 1.16 2014/08/20 06:03:20 doug Exp $ */
+/* $OpenBSD: linux_futex.c,v 1.17 2015/09/04 11:51:29 kettenis Exp $ */
/* $NetBSD: linux_futex.c,v 1.26 2010/07/07 01:30:35 chs Exp $ */
/*-
@@ -415,10 +415,10 @@ futex_pool_init(void)
DPRINTF(("Inside futex_pool_init()\n"));
if (!futex_pool_initialized) {
- pool_init(&futex_pool, sizeof(struct futex), 0, 0, PR_DEBUGCHK,
- "futexpl", &pool_allocator_nointr);
+ pool_init(&futex_pool, sizeof(struct futex), 0, 0,
+ PR_WAITOK | PR_DEBUGCHK, "futexpl", NULL);
pool_init(&futex_wp_pool, sizeof(struct waiting_proc), 0, 0,
- PR_DEBUGCHK, "futexwppl", &pool_allocator_nointr);
+ PR_WAITOK | PR_DEBUGCHK, "futexwppl", NULL);
futex_pool_initialized = 1;
}
}