From: Mel Gorman Date: Mon, 7 Oct 2013 10:28:49 +0000 (+0100) Subject: mm: Only flush TLBs if a transhuge PMD is modified for NUMA pte scanning X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~79 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f123d74abf91574837d14e5ea58f6a779a387bf5;p=pandora-kernel.git mm: Only flush TLBs if a transhuge PMD is modified for NUMA pte scanning NUMA PTE scanning is expensive both in terms of the scanning itself and the TLB flush if there are any updates. The TLB flush is avoided if no PTEs are updated but there is a bug where transhuge PMDs are considered to be updated even if they were already pmd_numa. This patch addresses the problem and TLB flushes should be reduced. Cc: Andrea Arcangeli Cc: Johannes Weiner Cc: Srikar Dronamraju Reviewed-by: Rik van Riel Signed-off-by: Mel Gorman Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1381141781-10992-12-git-send-email-mgorman@suse.de Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed