Skip to content

Commit

Permalink
rxrpc: rxrpc_workqueue isn't used during memory reclaim
Browse files Browse the repository at this point in the history
rxrpc_workqueue isn't depended upon while reclaiming memory.  Convert
to alloc_workqueue() without WQ_MEM_RECLAIM.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Tejun Heo authored and Linus Torvalds committed Jan 14, 2011
1 parent ba28b93 commit e1fcc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/rxrpc/af_rxrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ static int __init af_rxrpc_init(void)
goto error_call_jar;
}

rxrpc_workqueue = create_workqueue("krxrpcd");
rxrpc_workqueue = alloc_workqueue("krxrpcd", 0, 1);
if (!rxrpc_workqueue) {
printk(KERN_NOTICE "RxRPC: Failed to allocate work queue\n");
goto error_work_queue;
Expand Down

0 comments on commit e1fcc7e

Please sign in to comment.