[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjw2yuQjP1rqB=ocr9W3=ak+6h4XygoFTAgM5meiM1Q0A@mail.gmail.com>
Date: Wed, 15 Jul 2020 16:18:44 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Kirill A. Shutemov" <kirill@...temov.name>
Cc: Joel Fernandes <joel@...lfernandes.org>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Naresh Kamboju <naresh.kamboju@...aro.org>,
William Kucharski <william.kucharski@...cle.com>
Subject: Re: [PATCHv2] mm: Fix warning in move_normal_pmd()
On Wed, Jul 15, 2020 at 4:04 PM Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>
> It *might* be as simple as this incremental thing on top
No, it needs to be
+ if (*old_addr + *len < old->vm_end)
+ return;
in try_to_align_end(), of course.
Now I'm going for a lie-down, because this cross-eyed thing isn't working.
Linus
Powered by blists - more mailing lists