Messages in this thread |  | | | Date | Tue, 9 Sep 2008 20:13:45 +0400 | | From | Oleg Nesterov <> | | Subject | Re: [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 ;)
Oleg.
|  |