There are gonna be multiple unbound pools. Include pool ID in the name of unbound kworkers.
Showing the changes to kernel/workqueue.c (1 of 1 file). Show all
Unified · Split
| @@ -1707,7 +1707,8 @@ static struct worker *create_worker(struct worker_pool *pool) · 1706 unmodified lines | |||
| 1707 | "kworker/%d:%d%s", pool->cpu, id, pri); | 1707 | "kworker/%d:%d%s", pool->cpu, id, pri); |
| 1708 | else | 1708 | else |
| 1709 | worker->task = kthread_create(worker_thread, worker, | 1709 | 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); | ||
| 1711 | if (IS_ERR(worker->task)) | 1712 | if (IS_ERR(worker->task)) |
| 1712 | goto fail; | 1713 | goto fail; |
| 1713 | 1714 | ||