sched/numa: Kill the wrong/dead TASK_DEAD check in task_numa_fault()
authorOleg Nesterov <oleg@redhat.com>
Sun, 21 Sep 2014 19:47:43 +0000 (21:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Sep 2014 07:35:05 +0000 (09:35 +0200)
commitbe34f0f3e6aed6e828a8059247d169d38da128d7
tree9de40d22cd49bc8be1190b22247ad367d0fe1a17
parent9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b
sched/numa: Kill the wrong/dead TASK_DEAD check in task_numa_fault()

current->state == TASK_DEAD means that the task is doing its
last schedule(), page fault is obviously impossible at this
stage.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140921194743.GA30114@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c