From: Tejun Heo Date: Tue, 12 Mar 2013 18:30:03 +0000 (-0700) Subject: workqueue: add pool ID to the names of unbound kworkers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac6104cdf87cc162b0a0d78280d1dcb9752e25bb;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git workqueue: add pool ID to the names of unbound kworkers There are gonna be multiple unbound pools. Include pool ID in the name of unbound kworkers. Signed-off-by: Tejun Heo Reviewed-by: Lai Jiangshan --- diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 2c5073214774..a8b86f7b6e34 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1707,7 +1707,8 @@ static struct worker *create_worker(struct worker_pool *pool) "kworker/%d:%d%s", pool->cpu, id, pri); else worker->task = kthread_create(worker_thread, worker, - "kworker/u:%d%s", id, pri); + "kworker/u%d:%d%s", + pool->id, id, pri); if (IS_ERR(worker->task)) goto fail;