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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux