summaryrefslogtreecommitdiff
path: root/crypto/crypto_wq.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crypto_wq.c')
-rw-r--r--crypto/crypto_wq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/crypto_wq.c b/crypto/crypto_wq.c
index fdcf6248f15..b980ee1af45 100644
--- a/crypto/crypto_wq.c
+++ b/crypto/crypto_wq.c
@@ -20,7 +20,8 @@ EXPORT_SYMBOL_GPL(kcrypto_wq);
static int __init crypto_wq_init(void)
{
- kcrypto_wq = create_workqueue("crypto");
+ kcrypto_wq = alloc_workqueue("crypto",
+ WQ_MEM_RECLAIM | WQ_CPU_INTENSIVE, 1);
if (unlikely(!kcrypto_wq))
return -ENOMEM;
return 0;