Re: [PATCH V12 4/5] riscv: mm: Add soft-dirty page tracking support
From: Deepak Gupta
Date: Tue Sep 16 2025 - 17:45:48 EST
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@xxxxxxxxxxx>
Reviewed-by: Deepak Gupta <debug@xxxxxxxxxxxx>
---