From: Dave Hansen Date: Thu, 31 Jul 2014 15:40:59 +0000 (-0700) Subject: x86/mm: Add tracepoints for TLB flushes X-Git-Tag: omap-for-v3.17/fixes-against-rc2~173^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d17d8f9dedb9dd76fd540a5c497101529d9eb25a;p=pandora-kernel.git x86/mm: Add tracepoints for TLB flushes We don't have any good way to figure out what kinds of flushes are being attempted. Right now, we can try to use the vm counters, but those only tell us what we actually did with the hardware (one-by-one vs full) and don't tell us what was actually _requested_. This allows us to select out "interesting" TLB flushes that we might want to optimize (like the ranged ones) and ignore the ones that we have very little control over (the ones at context switch). Signed-off-by: Dave Hansen Link: http://lkml.kernel.org/r/20140731154059.4C96CBA5@viggo.jf.intel.com Acked-by: Rik van Riel Cc: Mel Gorman Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed