Re: [PATCH] sched/numa: kill the wrong/dead TASK_DEAD check in task_numa_fault()
From: Mel Gorman
Date: Mon Sep 22 2014 - 02:54:26 EST
On Sun, Sep 21, 2014 at 09:47:43PM +0200, Oleg Nesterov wrote:
> 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@xxxxxxxxxx>
I was going to complain that the check would protect against a spurious
allocation during fault but a task in this state should not be faulting
any more.
Acked-by: Mel Gorman <mgorman@xxxxxxx>
Thanks.
--
Mel Gorman
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/