Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac6104cd authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Reviewed-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
parent f02ae73a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;