[PATCH V12 4/5] riscv: mm: Add soft-dirty page tracking support

Deepak Gupta debug at rivosinc.com
Tue Sep 16 14:45:35 PDT 2025


On Mon, Sep 15, 2025 at 06:13:42PM +0800, Chunyan Zhang wrote:
>The Svrsw60t59b extension allows to free the PTE reserved bits 60 and 59
>for software, this patch uses bit 59 for soft-dirty.
>
>To add swap PTE soft-dirty tracking, we borrow bit 3 which is available
>for swap PTEs on RISC-V systems.
>
>Signed-off-by: Chunyan Zhang <zhangchunyan at iscas.ac.cn>

Reviewed-by: Deepak Gupta <debug at rivosinc.com>
>---



More information about the linux-riscv mailing list