From: Mel Gorman Date: Thu, 12 Feb 2015 22:58:44 +0000 (-0800) Subject: mm: numa: avoid unnecessary TLB flushes when setting NUMA hinting entries X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~99^2~94 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c1045f28e86ac90589a188f0be2d7a4347efdf;p=pandora-kernel.git mm: numa: avoid unnecessary TLB flushes when setting NUMA hinting entries If a PTE or PMD is already marked NUMA when scanning to mark entries for NUMA hinting then it is not necessary to update the entry and incur a TLB flush penalty. Avoid the avoidhead where possible. Signed-off-by: Mel Gorman Cc: Aneesh Kumar K.V Cc: Benjamin Herrenschmidt Cc: Dave Jones Cc: Hugh Dickins Cc: Ingo Molnar Cc: Kirill Shutemov Cc: Linus Torvalds Cc: Paul Mackerras Cc: Rik van Riel Cc: Sasha Levin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed