Re: [PATCH v3 1/2] mm/mprotect: move softleaf code out of the main function

Vlastimil Babka (SUSE)
2026-04-07T09:59:05Z

On 4/2/26 16:16, Pedro Falcato wrote:
> Move softleaf change_pte_range code into a separate function. This makes
> the change_pte_range() function a good bit smaller, and lessens cognitive
> load when reading through the function.
>
> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
> Acked-by: David Hildenbrand (Arm) <david@kernel.org>
> Tested-by: Luke Yang <luyang@redhat.com>
> Signed-off-by: Pedro Falcato <pfalcato@suse.de>

Reviewed-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>