[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a5f3885f-aa32-420b-8d2f-e8ed6bfc6ee3@lucifer.local>
Date: Mon, 15 Dec 2025 12:40:29 +0000
From: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
To: Tal Zussman <tz2294@...umbia.edu>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Ingo Molnar <mingo@...nel.org>, Rik van Riel <riel@...riel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"Liam R. Howlett" <Liam.Howlett@...cle.com>,
Vlastimil Babka <vbabka@...e.cz>, Mike Rapoport <rppt@...nel.org>,
Suren Baghdasaryan <surenb@...gle.com>, Michal Hocko <mhocko@...e.com>,
x86@...nel.org, Will Deacon <will@...nel.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...nel.org>,
Nick Piggin <npiggin@...il.com>, Peter Zijlstra <peterz@...radead.org>,
David Hildenbrand <david@...nel.org>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH v2 2/2] mm: Remove tlb_flush_reason::NR_TLB_FLUSH_REASONS
On Fri, Dec 12, 2025 at 04:08:08AM -0500, Tal Zussman wrote:
> This has been unused since it was added 11 years ago in commit
> d17d8f9dedb9 ("x86/mm: Add tracepoints for TLB flushes").
>
> Acked-by: David Hildenbrand <david@...hat.com>
> Reviewed-by: Rik van Riel <riel@...riel.com>
> Signed-off-by: Tal Zussman <tz2294@...umbia.edu>
Hmm, guess just a way of counting the number of reasons, but if nobody's using
it that's silly. So:
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
> ---
> 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 9f6de068295d..42af2292951d 100644
> --- a/include/linux/mm_types.h
> +++ b/include/linux/mm_types.h
> @@ -1631,7 +1631,6 @@ enum tlb_flush_reason {
> TLB_LOCAL_MM_SHOOTDOWN,
> TLB_REMOTE_SEND_IPI,
> TLB_REMOTE_WRONG_CPU,
> - NR_TLB_FLUSH_REASONS,
> };
>
> /**
>
> --
> 2.39.5
>
Powered by blists - more mailing lists