Re: [PATCH v2 1/4] mm/mremap: Optimize the start addresses in move_page_tables()

From: Linus Torvalds
Date: Sat May 20 2023 - 00:01:33 EST


On Fri, May 19, 2023 at 8:57 PM Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:
>
> I also realize that I don't really need to check whether the masked
> source address falls under a VMA neighboring to that of the source's.

I don't think that's true.

You can't start randomly moving other source vma's that may have other contents.

Linus