diff options
author | Andy Lutomirski <[email protected]> | 2016-01-04 15:14:28 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-13 11:46:29 +0100 |
commit | 78fd8c7288e0a4bba3ad1d69caf9396a6b69cb00 (patch) | |
tree | f3f3325a926eab379f0451264a20a3536a911eb3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4eaffdd5a5fe6ff9f95e1ab4de1ac904d5e0fa8b (diff) |
x86/vdso/pvclock: Protect STABLE check with the seqcount
If the clock becomes unstable while we're reading it, we need to
bail. We can do this by simply moving the check into the
seqcount loop.
Reported-by: Marcelo Tosatti <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Radim Krcmar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/755dcedb17269e1d7ce12a9a713dea303835137e.1451949191.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions