diff options
author | 2015-09-04 11:51:29 +0000 | |
---|---|---|
committer | 2015-09-04 11:51:29 +0000 | |
commit | 3af2f7d205654fc977d70ae88c9fd58dc8351eed (patch) | |
tree | 6b11d34303adbda94f72cca90d79cd407f74455d | |
parent | The nfsrv_descript_pl pool never gets used in interrupt context. (diff) | |
download | wireguard-openbsd-3af2f7d205654fc977d70ae88c9fd58dc8351eed.tar.xz wireguard-openbsd-3af2f7d205654fc977d70ae88c9fd58dc8351eed.zip |
The futex_pool and futex_wp_pool pools never get used in interrupt context.
ok mlarkin@
-rw-r--r-- | sys/compat/linux/linux_futex.c | 8 |
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; } } |