diff options
author | 2021-08-12 22:31:24 +0200 | |
---|---|---|
committer | 2021-08-12 22:34:40 +0200 | |
commit | 9482fd71dbb8f0d1a61821a83e467dc0a9d7b429 (patch) | |
tree | 3b84411e7abe899ca1cfdc42d6117d58cd7aedc7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hrtimer: Avoid more SMP function calls in clock_was_set() (diff) | |
download | linux-dev-9482fd71dbb8f0d1a61821a83e467dc0a9d7b429.tar.xz linux-dev-9482fd71dbb8f0d1a61821a83e467dc0a9d7b429.zip |
hrtimer: Use raw_cpu_ptr() in clock_was_set()
clock_was_set() can be invoked from preemptible context. Use raw_cpu_ptr()
to check whether high resolution mode is active or not. It does not matter
whether the task migrates after acquiring the pointer.
Fixes: e71a4153b7c2 ("hrtimer: Force clock_was_set() handling for the HIGHRES=n, NOHZ=y case")
Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/875ywacsmb.ffs@tglx
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions