diff options
| author | Paul E. McKenney <[email protected]> | 2020-02-03 22:20:00 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-02-20 23:58:23 +0000 |
| commit | faa059c397dec8a452c79e9dba64419113ea64e2 (patch) | |
| tree | 14e7cbd40cf86f678ff2e373323cfe0469939d26 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | rcu/nocb: Add missing annotation for rcu_nocb_bypass_unlock() (diff) | |
| download | kernel-faa059c397dec8a452c79e9dba64419113ea64e2.tar.gz kernel-faa059c397dec8a452c79e9dba64419113ea64e2.zip | |
rcu: Optimize and protect atomic_cmpxchg() loop
This commit reworks the atomic_cmpxchg() loop in rcu_eqs_special_set()
to do only the initial read from the current CPU's rcu_data structure's
->dynticks field explicitly. On subsequent passes, this value is instead
retained from the failing atomic_cmpxchg() operation.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
