Re: [PATCH V5 2/3] riscv: Add ASID-based tlbflushing methods
From: Christoph Hellwig
Date: Mon May 31 2021 - 02:17:49 EST
On Sun, May 30, 2021 at 04:49:25PM +0000, guoren@xxxxxxxxxx wrote:
> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> Implement optimized version of the tlb flushing routines for systems
> using ASIDs. These are behind the use_asid_allocator static branch to
> not affect existing systems not using ASIDs.
I still think the code duplication and exposing of new code in a global
header here is a bad idea and would suggest the version I sent instead.