diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2021-12-07 15:35:40 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-12-09 12:20:24 -1000 |
commit | b4ac9384ac057c5bf035fbe82fc162fa2f7b15a9 (patch) | |
tree | 5dcefbd3496a2e983bf7bd6a6d74b66b843c4b72 /scripts/gdb/linux/dmesg.py | |
parent | 11b45b0bf402b53c94c86737a440363fc36f03cd (diff) |
workqueue: Remove schedule() in unbind_workers()
The commit 6d25be5782e4 ("sched/core, workqueues: Distangle worker
accounting from rq lock") changed the schedule callbacks for workqueue
and moved the schedule callback from the wakeup code to at end of
schedule() in the worker's process context.
It means that the callback wq_worker_running() is guaranteed that
it sees the %WORKER_UNBOUND flag after scheduled since unbind_workers()
is running on the same CPU that all the pool's workers bound to.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions