Re: [PATCH 3/3] arm_timer: remove a racy and obsolete PF_EXITING check

From: Oleg Nesterov
Date: Mon Jun 19 2006 - 15:27:39 EST


On 06/19, Roland McGrath wrote:
>
> > However, for some reason it does so only for CPUCLOCK_PERTHREAD
> > case (which is imho wrong).
>
> For a process CPU clock timer, ->it.cpu.task is the thread group leader.
> The group leader can exit and will be a lingering zombie for as long as
> other threads in the group live. The process timers need to keep getting
> armed and working both during and after the group leader's exit processing.

Ah, yes. Also, I missed the fact that process_timer_rebalance() checks
PF_EXITING anyway (For a process CPU clock timer), so I was wrong twice.

Thanks!

Oleg.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/