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 <cuiyunhui@xxxxxxxxxxxxx> 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 <cuiyunhui@xxxxxxxxxxxxx>
Thank you very much for your review and testing!
Thanks, Yunhui