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

From: Andrea Parri

Date: Wed Sep 16 2026 - 16:24:45 EST


> @@ -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;

An inline comment in handle_posix_cpu_timers() seems to be the only remaining
reference to the exit_state check in the tree. The same comment is still in
place at the end of the series, so nothing later seems to update it. Should
that comment be updated to refer to the PF_EXITING check instead?

Andrea