[PATCH v5 5/7] mm: Split can_change_pte_writable() into private and shared parts

Zi Yan ziy at nvidia.com
Wed Jul 23 08:40:04 PDT 2025


On 18 Jul 2025, at 5:02, Dev Jain wrote:

> In preparation for patch 6 and modularizing the code in general, split
> can_change_pte_writable() into private and shared VMA parts. No functional
> change intended.
>
> Suggested-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
> Signed-off-by: Dev Jain <dev.jain at arm.com>
> ---
>  mm/mprotect.c | 50 ++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 36 insertions(+), 14 deletions(-)
>

LGTM. Reviewed-by: Zi Yan <ziy at nvidia.com>

Best Regards,
Yan, Zi



More information about the linux-arm-kernel mailing list