lkml.org 
[lkml]   [2010]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm 1/2] proc_sched_show_task: use get_nr_threads()
Date
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>


\
 
 \ /
  Last update: 2010-03-24 09:43    [W:0.067 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site