Re: [PATCH] mm: Fix MREMAP_DONTUNMAP accounting on VMA merge

From: Linus Torvalds
Date: Sun Apr 19 2020 - 17:15:15 EST


On Sun, Apr 19, 2020 at 10:59 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> So I do have a query: would it perhaps not be a good idea to simply
> remove the "vma_merge()" call from copy_vma(), and do at the end of
> move_vma() instead?

I decided to apply the patch regardless, even if somebody does end up
deciding "yeah, let's move the vma_merge() down" later.

Linus