Messages in this thread | | | Date | Mon, 22 Sep 2014 07:54:17 +0100 | From | Mel Gorman <> | Subject | Re: [PATCH] sched/numa: kill the wrong/dead TASK_DEAD check in task_numa_fault() |
| |
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@redhat.com>
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@suse.de>
Thanks.
-- Mel Gorman SUSE Labs
| |