diff options
| author | Uladzislau Rezki (Sony) <[email protected]> | 2022-12-02 13:18:37 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2023-01-04 01:48:41 +0000 |
| commit | 9627456101ec9bb502daae7276e5141f66a9ddd1 (patch) | |
| tree | bf8f0fa80512ebd1a522b8d6f7020b806e405e10 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | rcu/kvfree: Use a polled API to speedup a reclaim process (diff) | |
| download | kernel-9627456101ec9bb502daae7276e5141f66a9ddd1.tar.gz kernel-9627456101ec9bb502daae7276e5141f66a9ddd1.zip | |
rcu/kvfree: Use READ_ONCE() when access to krcp->head
The need_offload_krc() function is now lock-free, which gives the
compiler freedom to load old values from plain C-language loads from
the kfree_rcu_cpu struture's ->head pointer. This commit therefore
applied READ_ONCE() to these loads.
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
