diff options
-rw-r--r-- | kernel/sched/fair.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 2a1e6ac6bb32..9ee3d4f6de47 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c | |||
@@ -1817,10 +1817,6 @@ void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) | |||
1817 | if (!p->mm) | 1817 | if (!p->mm) |
1818 | return; | 1818 | return; |
1819 | 1819 | ||
1820 | /* Do not worry about placement if exiting */ | ||
1821 | if (p->state == TASK_DEAD) | ||
1822 | return; | ||
1823 | |||
1824 | /* Allocate buffer to track faults on a per-node basis */ | 1820 | /* Allocate buffer to track faults on a per-node basis */ |
1825 | if (unlikely(!p->numa_faults_memory)) { | 1821 | if (unlikely(!p->numa_faults_memory)) { |
1826 | int size = sizeof(*p->numa_faults_memory) * | 1822 | int size = sizeof(*p->numa_faults_memory) * |