mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@tv-sign.ru>
To: Ingo Molnar <mingo@elte.hu>
Cc: Frank Mayhar <fmayhar@google.com>,
	linux-kernel@vger.kernel.org, Roland McGrath <roland@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
Date: Tue, 9 Sep 2008 20:13:45 +0400	[thread overview]
Message-ID: <20080909161345.GA742@tv-sign.ru> (raw)
In-Reply-To: <20080909160152.GA714@tv-sign.ru>

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.


  reply	other threads:[~2008-09-09 16:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08 20:44 Frank Mayhar
2008-09-09  7:03 ` Ingo Molnar
2008-09-09 16:01   ` Oleg Nesterov
2008-09-09 16:13     ` Oleg Nesterov [this message]
2008-09-09 20:29     ` Frank Mayhar
2008-09-10 12:12       ` Oleg Nesterov
2008-09-10 17:50         ` Frank Mayhar
2008-09-10 16:32       ` Oleg Nesterov
2008-09-10  4:04     ` Roland McGrath
2008-09-10 11:44       ` Oleg Nesterov
2008-09-10  3:59 ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080909161345.GA742@tv-sign.ru \
    --to=oleg@tv-sign.ru \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=fmayhar@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=roland@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®