|
@@ -1817,10 +1817,6 @@ void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags)
|
|
if (!p->mm)
|
|
if (!p->mm)
|
|
return;
|
|
return;
|
|
|
|
|
|
- /* Do not worry about placement if exiting */
|
|
|
|
- if (p->state == TASK_DEAD)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
/* Allocate buffer to track faults on a per-node basis */
|
|
/* Allocate buffer to track faults on a per-node basis */
|
|
if (unlikely(!p->numa_faults_memory)) {
|
|
if (unlikely(!p->numa_faults_memory)) {
|
|
int size = sizeof(*p->numa_faults_memory) *
|
|
int size = sizeof(*p->numa_faults_memory) *
|