From: Dave Hansen Date: Thu, 31 Jul 2014 15:41:01 +0000 (-0700) Subject: x86/mm: New tunable for single vs full TLB flush X-Git-Tag: omap-for-v3.17/fixes-against-rc2~173^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d040a1ce903ca5d6e7c983621fb29c6883c4c48;p=pandora-kernel.git x86/mm: New tunable for single vs full TLB flush Most of the logic here is in the documentation file. Please take a look at it. I know we've come full-circle here back to a tunable, but this new one is *WAY* simpler. I challenge anyone to describe in one sentence how the old one worked. Here's the way the new one works: If we are flushing more pages than the ceiling, we use the full flush, otherwise we use per-page flushes. Signed-off-by: Dave Hansen Link: http://lkml.kernel.org/r/20140731154101.12B52CAF@viggo.jf.intel.com Acked-by: Rik van Riel Acked-by: Mel Gorman Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed