[PATCH/RFC] mm: add and use batched version of __tlb_remove_table()

Nikita Yushchenko nikita.yushchenko at virtuozzo.com
Sun Dec 19 00:38:59 AEDT 2021


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


More information about the Linuxppc-dev mailing list