]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: New tunable for single vs full TLB flush
authorDave Hansen <dave.hansen@linux.intel.com>
Thu, 31 Jul 2014 15:41:01 +0000 (08:41 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 31 Jul 2014 15:48:51 +0000 (08:48 -0700)
commite35a9487b343a4cecfbedaba36663aebc8ad5270
tree2969f9de20422d8e247cf6e13d043330878baff6
parent923633f05915dfdfe22a8b884441fd9792d745fb
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 <dave.hansen@linux.intel.com>
Link: http://lkml.kernel.org/r/20140731154101.12B52CAF@viggo.jf.intel.com
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Documentation/x86/tlb.txt [new file with mode: 0644]
arch/x86/mm/tlb.c