sched/core: Delete PF_EXITING checks from cpu_cgroup_exit() callback
authorKirill Tkhai <ktkhai@odin.com>
Mon, 31 Aug 2015 12:12:56 +0000 (15:12 +0300)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 07:52:51 +0000 (09:52 +0200)
commit446685e9bfa11174332fbb0b3218b37015fbf4ff
tree8f7de199d71026a076fc7e6576023b72ac228798
parentbc54da2176cd38cedea767eff637229a191a2383
sched/core: Delete PF_EXITING checks from cpu_cgroup_exit() callback

cgroup_exit() is not called from copy_process() after commit:

  e8604cb43690 ("cgroup: fix spurious lockdep warning in cgroup_exit()")

from do_exit(). So this check is useless and the comment is obsolete.

Signed-off-by: Kirill Tkhai <ktkhai@odin.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/55E444C8.3020402@odin.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c