]> git.karo-electronics.de Git - karo-tx-linux.git/commit
workqueue: break out gcwq->lock locking from gcwq_claim/release_management_and_[un...
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)
commita6d1347ef1a08623b9881b1705ce0df6b213afb1
tree8b729e7c7d737ef272a40deef461f5c64e428032
parentec58815ab0409a921a7c9744eb4ca44866b14d71
workqueue: break out gcwq->lock locking from gcwq_claim/release_management_and_[un]lock()

Releasing management and unlocking gcwq->lock need to be done
separately for the scheduled fix of a subtle idle worker depletion
issue during CPU_ONLINE.  Break out gcwq->lock handling from these
functions.

This patch doesn't introduce any functional difference.

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