All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: dhowells@redhat.com, Andrew Morton <akpm@linux-foundation.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Roland McGrath <roland@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm 1/2] proc_sched_show_task: use get_nr_threads()
Date: Wed, 24 Mar 2010 08:40:13 +0000	[thread overview]
Message-ID: <11646.1269420013@redhat.com> (raw)
In-Reply-To: <20100323144839.GA10424@redhat.com>

Oleg Nesterov <oleg@redhat.com> wrote:

> Trivial, use get_nr_threads() helper to read signal->count which
> we are going to change.
> 
> Like other callers, proc_sched_show_task() doesn't need the exactly
> precise nr_threads.

Note that get_nr_threads() isn't completely equivalent (it can return 0 where
proc_sched_show_task() will display a 1).  But I don't think this should be a
problem.

> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: David Howells <dhowells@redhat.com>

      parent reply	other threads:[~2010-03-24  8:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 14:48 [PATCH -mm 1/2] proc_sched_show_task: use get_nr_threads() Oleg Nesterov
2010-03-23 15:09 ` Oleg Nesterov
2010-04-09 19:54   ` Roland McGrath
2010-03-24  8:40 ` David Howells [this message]

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=11646.1269420013@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=roland@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.