From: Mel Gorman Date: Mon, 7 Oct 2013 10:29:14 +0000 (+0100) Subject: mm: numa: Trap pmd hinting faults only if we would otherwise trap PTE faults X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25cbbef1924299249756bc4030fcb2436c019813;p=pandora-kernel.git 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 Reviewed-by: Rik van Riel Cc: Andrea Arcangeli Cc: Johannes Weiner Cc: Srikar Dronamraju Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1381141781-10992-37-git-send-email-mgorman@suse.de Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed