[PATCH v2 3/6] mm: pgtable: convert some architectures to use tlb_remove_ptdesc()
Kevin Brodsky
kevin.brodsky at arm.com
Wed Feb 26 00:31:59 PST 2025
On 25/02/2025 04:45, Qi Zheng wrote:
> Now, the nine architectures of csky, hexagon, loongarch, m68k, mips,
> nios2, openrisc, sh and um do not select CONFIG_MMU_GATHER_RCU_TABLE_FREE,
> and just call pagetable_dtor() + tlb_remove_page_ptdesc() (the wrapper of
> tlb_remove_page()). This is the same as the implementation of
> tlb_remove_{ptdesc|table}() under !CONFIG_MMU_GATHER_TABLE_FREE, so
> convert these architectures to use tlb_remove_ptdesc().
>
> The ultimate goal is to make the architecture only use tlb_remove_ptdesc()
> or tlb_remove_table() for page table pages.
>
> Signed-off-by: Qi Zheng <zhengqi.arch at bytedance.com>
> Suggested-by: Peter Zijlstra (Intel) <peterz at infradead.org>
Reviewed-by: Kevin Brodsky <kevin.brodsky at arm.com>
More information about the linux-riscv
mailing list