Re: [PATCH v2 4/6] riscv: pgtable: unconditionally use tlb_remove_ptdesc()

2025-03-02 Thread Qi Zheng
On 3/3/25 9:45 AM, yunhui cui wrote: Hi Qi, [...] This set of patches mainly refactors the remove page table function interfaces. The comment "riscv_ipi_for_rfence" has been removed, as it was no longer needed, and this patch handles that. Additionally, whether riscv_use_sbi_for_rfen

Re: [External] [PATCH v2 4/6] riscv: pgtable: unconditionally use tlb_remove_ptdesc()

2025-03-02 Thread yunhui cui
Hi Qi, On Tue, Feb 25, 2025 at 11:48 AM Qi Zheng wrote: > > To support fast gup, the commit 69be3fb111e7 ("riscv: enable > MMU_GATHER_RCU_TABLE_FREE for SMP && MMU") did the following: > > 1) use tlb_remove_page_ptdesc() for those platforms which use IPI to >perform TLB shootdown > > 2) use t

[PATCH v2 4/6] riscv: pgtable: unconditionally use tlb_remove_ptdesc()

2025-02-24 Thread Qi Zheng
To support fast gup, the commit 69be3fb111e7 ("riscv: enable MMU_GATHER_RCU_TABLE_FREE for SMP && MMU") did the following: 1) use tlb_remove_page_ptdesc() for those platforms which use IPI to perform TLB shootdown 2) use tlb_remove_ptdesc() for those platforms which use SBI to perform TLB s