* [PATCH] vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
@ 2017-06-05 14:40 Andy Lutomirski
2017-06-08 9:19 ` [tip:x86/mm] mm/vmstat: " tip-bot for Andy Lutomirski
0 siblings, 1 reply; 2+ messages in thread
From: Andy Lutomirski @ 2017-06-05 14:40 UTC (permalink / raw)
To: x86; +Cc: linux-kernel, Borislav Petkov, Andy Lutomirski
This fixes CONFIG_SMP=n, CONFIG_DEBUG_TLBFLUSH=y without introducing
further ifdef soup. Caught by a kbuild bot randconfig build.
Fixes: ce4a4e565f52 ("x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
---
include/linux/vm_event_item.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index d84ae90ccd5c..be3ab2d13adf 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -93,10 +93,8 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
#endif
#endif
#ifdef CONFIG_DEBUG_TLBFLUSH
-#ifdef CONFIG_SMP
NR_TLB_REMOTE_FLUSH, /* cpu tried to flush others' tlbs */
NR_TLB_REMOTE_FLUSH_RECEIVED,/* cpu received ipi for flush */
-#endif /* CONFIG_SMP */
NR_TLB_LOCAL_FLUSH_ALL,
NR_TLB_LOCAL_FLUSH_ONE,
#endif /* CONFIG_DEBUG_TLBFLUSH */
--
2.9.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/mm] mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
2017-06-05 14:40 [PATCH] vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP Andy Lutomirski
@ 2017-06-08 9:19 ` tip-bot for Andy Lutomirski
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Andy Lutomirski @ 2017-06-08 9:19 UTC (permalink / raw)
To: linux-tip-commits
Cc: mingo, peterz, linux-kernel, tglx, luto, torvalds, bp, hpa
Commit-ID: 5dd0b16cdaff9b94da06074d5888b03235c0bf17
Gitweb: http://git.kernel.org/tip/5dd0b16cdaff9b94da06074d5888b03235c0bf17
Author: Andy Lutomirski <luto@kernel.org>
AuthorDate: Mon, 5 Jun 2017 07:40:25 -0700
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 8 Jun 2017 09:23:09 +0200
mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
This fixes CONFIG_SMP=n, CONFIG_DEBUG_TLBFLUSH=y without introducing
further #ifdef soup. Caught by a Kbuild bot randconfig build.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: ce4a4e565f52 ("x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code")
Link: http://lkml.kernel.org/r/76da9a3cc4415996f2ad2c905b93414add322021.1496673616.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
include/linux/vm_event_item.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index d84ae90..be3ab2d 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -93,10 +93,8 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
#endif
#endif
#ifdef CONFIG_DEBUG_TLBFLUSH
-#ifdef CONFIG_SMP
NR_TLB_REMOTE_FLUSH, /* cpu tried to flush others' tlbs */
NR_TLB_REMOTE_FLUSH_RECEIVED,/* cpu received ipi for flush */
-#endif /* CONFIG_SMP */
NR_TLB_LOCAL_FLUSH_ALL,
NR_TLB_LOCAL_FLUSH_ONE,
#endif /* CONFIG_DEBUG_TLBFLUSH */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-08 9:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 14:40 [PATCH] vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP Andy Lutomirski
2017-06-08 9:19 ` [tip:x86/mm] mm/vmstat: " tip-bot for Andy Lutomirski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome