aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2018-10-11 12:38:27 +0200
committerThomas Gleixner <[email protected]>2018-10-14 11:11:22 +0200
commitb59167ac7bafd804c91e49ad53c6d33a7394d4c8 (patch)
tree9d38b3f253a8c7d60b6717bfd867c456ce586966 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent4907c68abd3f60f650f98d5a69d4ec77c0bde44f (diff)
x86/percpu: Fix this_cpu_read()
Eric reported that a sequence count loop using this_cpu_read() got optimized out. This is wrong, this_cpu_read() must imply READ_ONCE() because the interface is IRQ-safe, therefore an interrupt can have changed the per-cpu value. Fixes: 7c3576d261ce ("[PATCH] i386: Convert PDA into the percpu section") Reported-by: Eric Dumazet <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Eric Dumazet <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions