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

Unified · Split

kernel/workqueue.c+2−1
@@ -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 else1708 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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t