[PATCH v4 4/4] arm64/mm: Add uffd write-protect support

David Hildenbrand david at redhat.com
Tue May 7 04:45:41 PDT 2024


On 03.05.24 16:46, Ryan Roberts wrote:
> Let's use the newly-free PTE SW bit (58) to add support for uffd-wp.
> 
> The standard handlers are implemented for set/test/clear for both pte
> and pmd. Additionally we must also track the uffd-wp state as a pte swp
> bit, so use a free swap pte bit (3).
> 
> Acked-by: Peter Xu <peterx at redhat.com>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> Reviewed-by: David Hildenbrand <david at redhat.com>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>

LGTM, thanks!

Reviewed-by: David Hildenbrand <david at redhat.com>

-- 
Cheers,

David / dhildenb




More information about the linux-arm-kernel mailing list