diff options
author | Thomas Gleixner <[email protected]> | 2024-11-05 09:14:29 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-11-07 02:14:43 +0100 |
commit | 15cbfb92efee5c7f09e531a331e19759dbe0ac3c (patch) | |
tree | 946ee7c64cab11e472d69df24b761d1c39437dd4 /tools/perf/scripts/python/parallel-perf.py | |
parent | c163e40af9b2331b2c629fd4ec8b703ed4d4ae39 (diff) |
posix-cpu-timers: Correctly update timer status in posix_cpu_timer_del()
If posix_cpu_timer_del() exits early due to task not found or sighand
invalid, it fails to clear the state of the timer. That's harmless but
inconsistent.
These early exits are accounted as successful delete. Move the update of
the timer state into the success return path, so all "successful" deletions
are handled.
Reported-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions