summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-09-11 11:09:40 +0200
committerThomas Gleixner <tglx@kernel.org>2026-09-16 18:44:04 +0200
commit54ad1e0ea42c3dc25de39b09220af408e4913820 (patch)
tree655cd8f7677d2056735cf9869bd7fc21f0de73ba /scripts/Makefile.thinlto
parent760ad335d600b1d45f05bc5fad59c05d909710be (diff)
downloadlinux-54ad1e0ea42c3dc25de39b09220af408e4913820.tar.gz
linux-54ad1e0ea42c3dc25de39b09220af408e4913820.zip
posix-cpu-timers: Prevent enqueueing when PF_EXITING is set
To prepare for cleaning up POSIX CPU timers in do_exit(), prevent enqueueing POSIX CPU timers on a task which has PF_EXITING set. Queueing a timer on such a task is pointless because the task won't expire the timer anymore. The same applies to process wide timers when tsk::signal::flags has SIGNAL_GROUP_EXIT set. Pretending that the timer is armed allows to keep the POSIX timer mechanism "working" so that the timer stays accessible up to the point where a task is unhashed. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Kijo Park <red993688@gmail.com> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://patch.msgid.link/20260911090541.892445443@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions