diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2019-11-15 19:01:25 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2019-11-15 11:53:35 -0800 |
commit | 49e9d1a9faf2f71fdfd80a30697ee9a15070626d (patch) | |
tree | 46cce09b371206318000616b04536aa16f189e46 /kernel/cgroup/cpuset.c | |
parent | e66b39af00f426b3356b96433d620cb3367ba1ff (diff) |
workqueue: Add RCU annotation for pwq list walk
An additional check has been recently added to ensure that a RCU related lock
is held while the RCU list is iterated.
The `pwqs' are sometimes iterated without a RCU lock but with the &wq->mutex
acquired leading to a warning.
Teach list_for_each_entry_rcu() that the RCU usage is okay if &wq->mutex
is acquired during the list traversal.
Fixes: 28875945ba98d ("rcu: Add support for consolidated-RCU reader checking")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cpuset.c')
0 files changed, 0 insertions, 0 deletions