diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-08-13 21:20:00 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-20 09:47:18 +0200 |
commit | 1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8 (patch) | |
tree | ecd6e21e803f43c3858aa4c5e12e8f5e05784847 /kernel/sched/auto_group.c | |
parent | sched: s/do_each_thread/for_each_process_thread/ in debug.c (diff) | |
download | linux-1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8.tar.xz linux-1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8.zip |
sched: Change thread_group_cputime() to use for_each_thread()
Change thread_group_cputime() to use for_each_thread() instead of
buggy while_each_thread(). This also makes the pid_alive() check
unnecessary.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Frank Mayhar <fmayhar@google.com>
Cc: Frederic Weisbecker <fweisbec@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Sanjay Rao <srao@redhat.com>
Cc: Larry Woodman <lwoodman@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140813192000.GA19327@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/auto_group.c')
0 files changed, 0 insertions, 0 deletions