summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-11-05 11:14:36 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-11-07 04:14:43 +0300
commit5d916a0988eed5217c103932ff4887c9ae83c89c (patch)
tree0b5c34dca31f6f7b191dd579cb60580ecc8421f3 /tools/perf/scripts/python/export-to-postgresql.py
parent4cf7bf2a2f1a8ace4a49a1138c8123fdb5990093 (diff)
downloadlinux-5d916a0988eed5217c103932ff4887c9ae83c89c.tar.xz
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 <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20241105064213.304756440@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions