workqueue: drop CPU_DYING notifier operation
authorTejun Heo <tj@kernel.org>
Tue, 17 Jul 2012 19:39:26 +0000 (12:39 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jul 2012 19:39:26 +0000 (12:39 -0700)
commitf2d5a0ee06c1813f985bb9386f3ccc0d0315720f
tree4207975fe000f95931b0c6876657db5b13f92b73
parent6575820221f7a4dd6eadecf7bf83cdd154335eda
workqueue: drop CPU_DYING notifier operation

Workqueue used CPU_DYING notification to mark GCWQ_DISASSOCIATED.
This was necessary because workqueue's CPU_DOWN_PREPARE happened
before other DOWN_PREPARE notifiers and workqueue needed to stay
associated across the rest of DOWN_PREPARE.

After the previous patch, workqueue's DOWN_PREPARE happens after
others and can set GCWQ_DISASSOCIATED directly.  Drop CPU_DYING and
let the trustee set GCWQ_DISASSOCIATED after disabling concurrency
management.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
kernel/workqueue.c