diff options
author | 2024-06-10 18:42:25 +0200 | |
---|---|---|
committer | 2024-07-29 21:57:34 +0200 | |
commit | c20b99e3243f9e72b6fa0e260766adcba115f25b (patch) | |
tree | 70c9834de1ab34dcc8f260f4e3b382b203c47021 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | posix-cpu-timers: Remove incorrect comment in posix_cpu_timer_set() (diff) | |
download | linux-rng-c20b99e3243f9e72b6fa0e260766adcba115f25b.tar.xz linux-rng-c20b99e3243f9e72b6fa0e260766adcba115f25b.zip |
posix-cpu-timers: Simplify posix_cpu_timer_set()
Avoid the late sighand lock/unlock dance when a timer is not armed to
enforce reevaluation of the timer base so that the process wide CPU timer
sampling can be disabled.
Do it right at the point where the arming decision is made which already
has sighand locked.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions