diff options
author | Mel Gorman | 2013-10-07 12:29:04 +0200 |
---|---|---|
committer | Ingo Molnar | 2013-10-09 12:40:31 +0200 |
commit | 9ff1d9ff3c2c8ab3feaeb2e8056a07ca293f7bde (patch) | |
tree | 678236662d8e0eb734dc7aeb011e50f81b7e9a06 /mm/memory.c | |
parent | sched/numa: Add infrastructure for split shared/private accounting of NUMA hi... (diff) | |
download | kernel-qcow2-linux-9ff1d9ff3c2c8ab3feaeb2e8056a07ca293f7bde.tar.gz kernel-qcow2-linux-9ff1d9ff3c2c8ab3feaeb2e8056a07ca293f7bde.tar.xz kernel-qcow2-linux-9ff1d9ff3c2c8ab3feaeb2e8056a07ca293f7bde.zip |
sched/numa: Check current->mm before allocating NUMA faults
task_numa_placement checks current->mm but after buffers for faults
have already been uselessly allocated. Move the check earlier.
[peterz@infradead.org: Identified the problem]
Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-27-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions