diff options
author | Tejun Heo <tj@kernel.org> | 2013-03-14 02:47:40 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-14 02:47:40 (GMT) |
commit | 794b18bc8a3f80445e1f85c9c87c74de9575c93a (patch) | |
tree | 460e370381780ad497514abc1079f7cd20467ce0 /kernel/sched/core.c | |
parent | 5bcab3355a555a9c1bd4becb136cbd3651c8eafa (diff) | |
download | linux-fsl-qoriq-794b18bc8a3f80445e1f85c9c87c74de9575c93a.tar.xz |
workqueue: separate out pool_workqueue locking into pwq_lock
This patch continues locking cleanup from the previous patch. It
breaks out pool_workqueue synchronization from workqueue_lock into a
new spinlock - pwq_lock. The followings are protected by pwq_lock.
* workqueue->pwqs
* workqueue->saved_max_active
The conversion is straight-forward. workqueue_lock usages which cover
the above two are converted to pwq_lock. New locking label PW added
for things protected by pwq_lock and FR is updated to mean flush_mutex
+ pwq_lock + sched-RCU.
This patch shouldn't introduce any visible behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions