Re: [patch V3 6/8] posix-cpu-timers: Use PF_EXITING to indicate exit

From: Oleg Nesterov

Date: Fri Sep 11 2026 - 10:17:03 EST


On 09/11, Thomas Gleixner wrote:
>
> --- a/kernel/time/posix-cpu-timers.c
> +++ b/kernel/time/posix-cpu-timers.c
> @@ -1505,7 +1505,7 @@ void run_posix_cpu_timers(void)
> * posix_cpu_timer_del() may fail to lock_task_sighand(tsk) and
> * miss timer->it.cpu.firing != 0.
> */
> - if (tsk->exit_state)
> + if (tsk->flags & PF_EXITING)
> return;

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>