Re: [PATCH v2 2/3] mm/memory: remove the mkwrite argument from __vm_insert_mixed()

From: David Hildenbrand (Arm)

Date: Wed Nov 18 2026 - 09:59:22 EST


On 10/2/26 18:05, Sang-Heon Jeon wrote:
> __vm_insert_mixed() is only called from vmf_insert_mixed() with
> mkwrite == false, so mkwrite is also always false in vm_mixed_ok()
> and insert_pfn().
>
> So remove the argument and the unreachable code in insert_pfn().
>
> No functional change.
>
> Signed-off-by: Sang-Heon Jeon <ekffu200098@xxxxxxxxx>
> ---

Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David