projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02ae73
)
workqueue: add pool ID to the names of unbound kworkers
author
Tejun Heo
<tj@kernel.org>
Tue, 12 Mar 2013 18:30:03 +0000
(11:30 -0700)
committer
Tejun Heo
<tj@kernel.org>
Tue, 12 Mar 2013 18:30:03 +0000
(11:30 -0700)
There are gonna be multiple unbound pools. Include pool ID in the
name of unbound kworkers.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/workqueue.c
patch
|
blob
|
history
diff --git
a/kernel/workqueue.c
b/kernel/workqueue.c
index 2c5073214774a4a690a3f89202c3f82939166dbd..a8b86f7b6e34c8b9836f7cbb308e42d7bff25269 100644
(file)
--- 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;