]> git.karo-electronics.de Git - karo-tx-linux.git/commit
workqueue: rename rebind_workers() to gcwq_associate() and let it handle locking...
authorTejun Heo <tj@kernel.org>
Thu, 6 Sep 2012 19:50:40 +0000 (12:50 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 6 Sep 2012 19:50:40 +0000 (12:50 -0700)
commit0150a04271dbcc9abbb2575911fa1d72d40451bf
tree62bac9fd21ed99534f5168f245261efd53679091
parenta6d1347ef1a08623b9881b1705ce0df6b213afb1
workqueue: rename rebind_workers() to gcwq_associate() and let it handle locking and DISASSOCIATED clearing

CPU_ONLINE used to handle locking and clearing of DISASSOCIATED and
rebind_workers() just the rebinding.  This patch renames the function
to gcwq_associate() and let it handle the whole onlining.  This is for
the scheduled fix of a subtle idle worker depletion issue during
CPU_ONLINE.

Note that this removes the unnecessary relock at the end of
gcwq_associate().

This patch doesn't introduce any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c