diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2019-11-19 13:14:29 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2019-12-17 13:32:46 +0100 |
commit | 9f0bff1180efc9ea988fed3fd93da7647151ac8b (patch) | |
tree | 13096867567558a3eb31ceaeb3b4dbc3c04088b7 /scripts/bpf_helpers_doc.py | |
parent | 92ca7da4bdc24d63bb0bcd241c11441ddb63b80a (diff) |
perf/core: Add SRCU annotation for pmus list walk
Since commit
28875945ba98d ("rcu: Add support for consolidated-RCU reader checking")
there is an additional check to ensure that a RCU related lock is held
while the RCU list is iterated.
This section holds the SRCU reader lock instead.
Add annotation to list_for_each_entry_rcu() that pmus_srcu must be
acquired during the list traversal.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions