aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2024-11-05 09:14:36 +0100
committerThomas Gleixner <[email protected]>2024-11-07 02:14:43 +0100
commit5d916a0988eed5217c103932ff4887c9ae83c89c (patch)
tree0b5c34dca31f6f7b191dd579cb60580ecc8421f3 /tools/perf/scripts/python/parallel-perf.py
parent4cf7bf2a2f1a8ace4a49a1138c8123fdb5990093 (diff)
posix-timers: Add a refcount to struct k_itimer
To cure the SIG_IGN handling for posix interval timers, the preallocated sigqueue needs to be embedded into struct k_itimer to prevent life time races of all sorts. To make that work correctly it needs reference counting so that timer deletion does not free the timer prematuraly when there is a signal queued or delivered concurrently. Add a rcuref to the posix timer part. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Acked-by: Peter Zijlstra (Intel) <[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