[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f955a1a8-eaac-0ab7-a48c-6237b3511312@virtuozzo.com>
Date: Sat, 18 Dec 2021 16:38:59 +0300
From: Nikita Yushchenko <nikita.yushchenko@...tuozzo.com>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Will Deacon <will@...nel.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Nick Piggin <npiggin@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Catalin Marinas <catalin.marinas@....com>,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Arnd Bergmann <arnd@...db.de>, x86@...nel.org,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-mm@...ck.org, linuxppc-dev@...ts.ozlabs.org,
linux-s390@...r.kernel.org, sparclinux@...r.kernel.org,
kernel@...nvz.org
Subject: Re: [PATCH/RFC] mm: add and use batched version of
__tlb_remove_table()
17.12.2021 21:39, Sam Ravnborg wrote:
> Hi Nikita,
>
> How about adding the following to tlb.h:
>
> #ifndef __tlb_remove_tables
> static void __tlb_remove_tables(...)
> {
> ....
> }
> #endif
>
> And then the few archs that want to override __tlb_remove_tables
> needs to do a
> #define __tlb_remove_tables __tlb_remove_tables
Hi Sam.
Thanks for you suggestion.
I think that what Peter suggested in the other reply is even better. I will follow that approach.
Nikita
Powered by blists - more mailing lists