Re: [PATCH v2 4/6] riscv: pgtable: unconditionally use tlb_remove_ptdesc()
Qi Zheng <[email protected]>
| Newsgroups | org.kernel.vger.linux-hexagon,dev.linux.lists.loongarch,org.infradead.lists.linux-riscv,org.infradead.lists.linux-um,org.kernel.vger.linux-csky,org.kernel.vger.linux-kernel,org.kernel.vger.linux-m68k,org.kernel.vger.linux-mips,org.kernel.vger.linux-openrisc,org.kernel.vger.linux-sh,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
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_rfence is true or false, page > tables can now be released using RCU. This patch changes the previous > synchronous release logic (for !riscv_use_sbi_for_rfence) to an > RCU-based release. > > So, Reviewed-by: Yunhui Cui <[email protected]> > > Based on qemu-system-riscv64, I tested this patch. The log is as follows: > ./gup_test > TAP version 13 > 1..1 > # GUP_FAST_BENCHMARK: Time: get:663365 put:117 us > # ok 1 ioctl status 0 > # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 Nice. > > So, Tested-by: Yunhui Cui <[email protected]> Thank you very much for your review and testing! > > Thanks, > Yunhui