diff options
| author | Atish Patra <[email protected]> | 2018-10-02 19:15:03 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2018-10-23 00:03:37 +0000 |
| commit | a37d56fc401108f39dec9ba83ed923a453937a26 (patch) | |
| tree | b050e592dc352a44bddc333ead5602abbab2e7a4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | RISC-V: Use mmgrab() (diff) | |
| download | kernel-a37d56fc401108f39dec9ba83ed923a453937a26.tar.gz kernel-a37d56fc401108f39dec9ba83ed923a453937a26.zip | |
RISC-V: Use WRITE_ONCE instead of direct access
The secondary harts spin on couple of per cpu variables until both of
these are non-zero so it's not necessary to have any ordering here.
However, WRITE_ONCE should be used to avoid tearing.
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
