Commit e1fcc7e2 authored by Tejun Heo's avatar Tejun Heo Committed by Linus Torvalds

rxrpc: rxrpc_workqueue isn't used during memory reclaim

rxrpc_workqueue isn't depended upon while reclaiming memory.  Convert
to alloc_workqueue() without WQ_MEM_RECLAIM.
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ba28b93a
...@@ -808,7 +808,7 @@ static int __init af_rxrpc_init(void) ...@@ -808,7 +808,7 @@ static int __init af_rxrpc_init(void)
goto error_call_jar; goto error_call_jar;
} }
rxrpc_workqueue = create_workqueue("krxrpcd"); rxrpc_workqueue = alloc_workqueue("krxrpcd", 0, 1);
if (!rxrpc_workqueue) { if (!rxrpc_workqueue) {
printk(KERN_NOTICE "RxRPC: Failed to allocate work queue\n"); printk(KERN_NOTICE "RxRPC: Failed to allocate work queue\n");
goto error_work_queue; goto error_work_queue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment