summaryrefslogtreecommitdiffstats
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2013-10-07 12:29:14 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-09 12:40:44 +0200
commit25cbbef1924299249756bc4030fcb2436c019813 (patch)
tree9369e1194bf3ddc91a5298b04fe590845851565b /kernel/stop_machine.c
parentsched/numa: Do not trap hinting faults for shared libraries (diff)
downloadlinux-25cbbef1924299249756bc4030fcb2436c019813.tar.xz
linux-25cbbef1924299249756bc4030fcb2436c019813.zip
mm: numa: Trap pmd hinting faults only if we would otherwise trap PTE faults
Base page PMD faulting is meant to batch handle NUMA hinting faults from PTEs. However, even is no PTE faults would ever be handled within a range the kernel still traps PMD hinting faults. This patch avoids the overhead. 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-37-git-send-email-mgorman@suse.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions