diff options
author | 2013-10-28 12:15:32 +0100 | |
---|---|---|
committer | 2013-10-31 09:52:52 +0100 | |
commit | 4560e7c3317c7a2b370e36dadd3a3bac2ed70818 (patch) | |
tree | b0fd4d8705f388783dd893a472105013b702991d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/time: fix get_tod_clock_ext inline assembly (diff) | |
download | linux-dev-4560e7c3317c7a2b370e36dadd3a3bac2ed70818.tar.xz linux-dev-4560e7c3317c7a2b370e36dadd3a3bac2ed70818.zip |
s390/vtime: correct idle time calculation
Use the ACCESS_ONCE macro for both accesses to idle->sequence in the
loops to calculate the idle time. If only one access uses the macro,
the compiler is free to cache the value for the second access which
can cause endless loops.
Cc: stable@vger.kernel.org # 3.6+
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions