rxrpc: rxrpc_workqueue isn't used during memory reclaim
authorTejun Heo <tj@kernel.org>
Fri, 14 Jan 2011 15:56:31 +0000 (15:56 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 17:25:11 +0000 (09:25 -0800)
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>
net/rxrpc/af_rxrpc.c

index 0b9bb2085ce4ac5f8d22ada9ba0132235c02fbf9..74c064c0dfddca0c1aaf599ffaf66465b4259373 100644 (file)
@@ -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;