[PATCH 6/7] sunrpc: use lazy workqueues

From: Jens Axboe
Date: Mon Aug 24 2009 - 03:58:39 EST


Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>
---
net/sunrpc/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index 8f459ab..ce99fe2 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -970,7 +970,7 @@ static int rpciod_start(void)
* Create the rpciod thread and wait for it to start.
*/
dprintk("RPC: creating workqueue rpciod\n");
- wq = create_workqueue("rpciod");
+ wq = create_lazy_workqueue("rpciod");
rpciod_workqueue = wq;
return rpciod_workqueue != NULL;
}
--
1.6.4.173.g3f189

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/