提交 ac6104cd 编写于 作者: T Tejun Heo

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: NTejun Heo <tj@kernel.org>
Reviewed-by: NLai Jiangshan <laijs@cn.fujitsu.com>
上级 f02ae73a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册