History

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.

Tejun Heo committed 13 years ago

Commit ac6104c1 parent f02ae731 file · +2 −1Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+2−1
@@ -1707,7 +1707,8 @@ static struct worker *create_worker(struct worker_pool *pool) · 1706 unmodified lines
17071707 "kworker/%d:%d%s", pool->cpu, id, pri);
17081708 else
17091709 worker->task = kthread_create(worker_thread, worker,
1710− "kworker/u:%d%s", id, pri);
1710+ "kworker/u%d:%d%s",
1711+ pool->id, id, pri);
17111712 if (IS_ERR(worker->task))
17121713 goto fail;
17131714