diff options
author | Valentin Schneider <[email protected]> | 2018-07-04 11:17:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-09-10 11:05:52 +0200 |
commit | e90c8fe15a3bf93a23088bcf1a56a0fa391d4e50 (patch) | |
tree | a04280c786bd43f82cb01576a8d8ff5786bb69a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 575638d1047eb057a5cdf95cc0b3c084e1279508 (diff) |
sched/fair: Wrap rq->rd->overload accesses with READ/WRITE_ONCE()
This variable can be read and set locklessly within update_sd_lb_stats().
As such, READ/WRITE_ONCE() are added to make sure nothing terribly wrong
can happen because of the compiler.
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Morten Rasmussen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions