Thread (12 messages) 12 messages, 4 authors, 2025-08-04
STALE313d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 2/2] mm: Remove tlb_flush_reason::NR_TLB_FLUSH_REASONS

From: Tal Zussman <hidden>
Date: 2025-05-28 06:05:54
Also in: linux-mm, lkml
Subsystem: memory management - core, the rest · Maintainers: Andrew Morton, David Hildenbrand, Linus Torvalds

This has been unused since it was added 11 years ago in commit
d17d8f9dedb9 ("x86/mm: Add tracepoints for TLB flushes").

Signed-off-by: Tal Zussman <redacted>
---
 include/linux/mm_types.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 3e934dc6057c..8b91362fcf8e 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -1539,7 +1539,6 @@ enum tlb_flush_reason {
 	TLB_LOCAL_MM_SHOOTDOWN,
 	TLB_REMOTE_SEND_IPI,
 	TLB_REMOTE_WRONG_CPU,
-	NR_TLB_FLUSH_REASONS,
 };
 
 /**
-- 
2.39.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help