]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm, x86: Account for TLB flushes only when debugging
authorMel Gorman <mgorman@suse.de>
Tue, 21 Jan 2014 22:33:16 +0000 (14:33 -0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2014 08:10:41 +0000 (09:10 +0100)
commitec65993443736a5091b68e80ff1734548944a4b8
treea2f9e960f8b9113012118de382ffcda741a1feaf
parent2993ae3305ad10b41e0d0bc2662f7754ee8e30fa
mm, x86: Account for TLB flushes only when debugging

Bisection between 3.11 and 3.12 fingered commit 9824cf97 ("mm:
vmstats: tlb flush counters") to cause overhead problems.

The counters are undeniably useful but how often do we really
need to debug TLB flush related issues?  It does not justify
taking the penalty everywhere so make it a debugging option.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Tested-by: Davidlohr Bueso <davidlohr@hp.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Alex Shi <alex.shi@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-XzxjntugxuwpxXhcrxqqh53b@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/tlbflush.h
arch/x86/kernel/cpu/mtrr/generic.c
arch/x86/mm/tlb.c
include/linux/vm_event_item.h
include/linux/vmstat.h
mm/vmstat.c