]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - kernel/workqueue.c
workqueue: Minor follow-ups to the rescuer destruction change
authorTejun Heo <tj@kernel.org>
Fri, 20 Sep 2019 21:09:14 +0000 (14:09 -0700)
committerTejun Heo <tj@kernel.org>
Fri, 20 Sep 2019 21:09:14 +0000 (14:09 -0700)
commit30ae2fc0a75eb5f1a38bbee7355d8e3bc823a6e1
tree812840e9780ecdcd519ba1304ad0919dc5f8bd7a
parent8efe1223d73c218ce7e8b2e0e9aadb974b582d7f
workqueue: Minor follow-ups to the rescuer destruction change

* Now that wq->rescuer may be cleared while rescuer is still there,
  switch show_pwq() debug printout to test worker->rescue_wq to
  identify rescuers intead of testing wq->rescuer.

* Update comment on ->rescuer locking.

Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Lai Jiangshan <jiangshanlai@gmail.com>
kernel/workqueue.c