Dave Hansen
6df46865ff
mm: vmstats: track TLB flush stats on UP too
...
The previous patch doing vmstats for TLB flushes ("mm: vmstats: tlb flush
counters") effectively missed UP since arch/x86/mm/tlb.c is only compiled
for SMP.
UP systems do not do remote TLB flushes, so compile those counters out on
UP.
arch/x86/kernel/cpu/mtrr/generic.c calls __flush_tlb() directly. This is
probably an optimization since both the mtrr code and __flush_tlb() write
cr4. It would probably be safe to make that a flush_tlb_all() (and then
get these statistics), but the mtrr code is ancient and I'm hesitant to
touch it other than to just stick in the counters.
[akpm@linux-foundation.org: tweak comments]
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-09-11 15:57:09 -07:00
..
2013-09-04 11:07:04 -07:00
2013-09-04 08:42:44 -07:00
2013-09-11 15:57:09 -07:00
2013-09-04 08:42:44 -07:00
2013-07-23 10:12:57 +02:00
2012-11-17 11:59:10 -08:00
2013-08-12 15:30:08 +02:00
2013-02-19 20:11:07 -08:00
2013-04-16 10:54:40 +02:00
2013-08-06 14:20:20 -07:00
2013-06-06 14:32:04 -07:00
2013-05-02 11:27:35 -07:00
2012-09-30 22:53:32 -04:00
2012-05-15 15:36:41 -07:00
2013-07-14 19:36:56 -04:00
2012-03-20 21:48:15 +08:00
2013-08-20 09:26:33 +02:00
2013-07-24 11:10:01 +01:00
2013-05-13 13:42:44 -07:00
2013-04-30 17:04:02 -07:00
2013-04-30 17:04:02 -07:00
2013-04-30 17:04:02 -07:00
2013-08-13 23:29:19 -07:00
2013-04-29 18:28:13 -07:00
2013-09-03 19:17:57 +02:00
2013-09-05 09:31:32 -04:00
2013-07-02 16:31:49 -07:00
2012-11-16 16:42:09 -08:00
2013-08-06 14:18:26 -07:00
2013-08-06 14:18:26 -07:00
2013-09-04 09:11:16 -07:00
2013-07-16 15:14:48 -07:00
2013-02-27 13:38:57 -08:00
2013-01-28 10:48:30 +01:00
2013-07-09 10:33:26 -07:00
2013-02-07 15:07:28 -08:00
2013-07-26 09:11:56 -07:00
2012-08-22 09:34:24 +02:00
2013-02-03 18:16:24 -05:00
2013-07-14 19:36:56 -04:00
2011-12-07 09:27:11 +01:00
2013-08-06 14:18:23 -07:00
2013-08-06 14:18:23 -07:00
2013-04-16 16:32:39 -03:00
2013-09-10 19:43:23 -07:00
2012-07-26 15:07:20 +02:00
2012-10-12 06:37:34 -05:00
2013-09-04 11:55:10 -07:00
2013-07-14 19:36:56 -04:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2013-01-29 15:26:35 -08:00
2013-08-02 16:17:47 -07:00
2013-08-12 18:32:45 +02:00
2013-08-12 18:32:45 +02:00
2013-07-14 19:36:56 -04:00
2013-07-14 19:36:56 -04:00
2013-07-14 19:36:56 -04:00
2013-01-31 13:19:14 -08:00
2013-01-31 13:18:50 -08:00
2013-07-14 19:36:56 -04:00
2012-07-24 13:34:56 -07:00
2012-05-29 20:14:53 -07:00
2013-07-14 19:36:56 -04:00
2012-06-20 14:23:17 +02:00
2013-07-12 14:13:04 +02:00
2013-08-09 07:54:00 -07:00
2013-09-04 09:46:43 -07:00
2012-06-06 09:17:22 +02:00
2013-01-24 17:34:18 +01:00
2012-05-21 15:09:38 +02:00
2012-03-28 16:36:31 +02:00
2012-09-19 17:08:40 +02:00
2012-09-05 10:52:25 +02:00
2013-08-06 14:18:30 -07:00
2013-08-06 14:20:13 -07:00
2013-08-06 14:20:13 -07:00
2013-07-09 10:33:26 -07:00
2013-07-18 12:29:30 +02:00
2013-04-02 16:03:34 -07:00
2013-07-09 10:33:29 -07:00
2013-06-25 16:26:06 -07:00
2013-06-20 21:30:04 -07:00
2013-05-28 14:00:59 -07:00
2012-06-14 12:42:11 +02:00
2013-09-04 09:39:26 -07:00
2013-09-04 11:08:32 -07:00
2013-08-06 14:18:23 -07:00
2013-07-14 19:36:56 -04:00
2013-01-22 10:08:00 -08:00
2013-08-22 10:19:35 -07:00
2013-08-06 14:20:18 -07:00
2013-08-06 14:20:18 -07:00
2013-08-02 16:17:47 -07:00
2013-08-02 16:17:46 -07:00
2013-08-02 16:17:47 -07:00
2013-07-31 14:25:51 +02:00
2012-03-28 18:11:12 +01:00
2012-04-20 13:51:38 -07:00
2012-05-17 19:06:13 -04:00
2013-03-03 22:58:33 -05:00
2012-11-14 15:28:11 -08:00
2012-11-13 15:48:27 -05:00
2013-07-16 15:14:48 -07:00
2013-07-23 10:12:57 +02:00
2013-07-14 19:36:56 -04:00
2013-07-23 12:17:45 +02:00
2013-04-13 15:31:55 +02:00
2013-05-02 20:36:32 -04:00
2013-03-11 15:07:56 +01:00
2012-07-06 11:00:22 +02:00
2013-07-14 19:36:56 -04:00
2013-08-21 10:17:18 -07:00
2012-11-16 16:42:08 -08:00
2013-07-14 19:36:56 -04:00