Re: [PATCH 03/10] mm/mremap: put VMA check and prep logic into helper function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/7/25 07:27, Lorenzo Stoakes wrote:
> Rather than lumping everything together in do_mremap(), add a new helper
> function, check_prep_vma(), to do the work relating to each VMA.
> 
> This further lays groundwork for subsequent patches which will allow for
> batched VMA mremap().
> 
> Additionally, if we set vrm->new_addr == vrm->addr when prepping the VMA,
> this avoids us needing to do so in the expand VMA mlocked case.
> 
> No functional change intended.
> 
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>

Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux