[lkml]   [2008]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
On 09/09, Oleg Nesterov wrote:
> So, the first CLONE_THREAD creates ->cputime.totals. After that
> thread_group_cputime_account_xxx() start to use it even if the task
> doesn't have the attached cpu timers.
> Stupid question: can't we allocate .totals in posix_cpu_timer_create() /
> set_process_cpu_timer() ?

Just to clarify: yes I see, .totals is also used by do_task_stat()/etc,
but they can iterate over sub-threads as before.

And my apologies if this was already discussed ;)


 \ /
  Last update: 2008-09-09 18:11    [W:0.106 / U:2.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site