Re: [PATCHv2] mm: Fix warning in move_normal_pmd()

From: Linus Torvalds
Date: Wed Jul 15 2020 - 17:43:26 EST


On Wed, Jul 15, 2020 at 2:31 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Naresh - don't test that version. The bugs Joel found just make the
> math wrong, so it won't work.

Here's a new version with the thing that Joel and Kirill both noticed
hopefully fixed.

But I probably screwed it up again. I guess I should test it, but I
don't have any really relevant environment (the plain mremap() case
should have shown the obvious bugs, though, so that's just an excuse
for my laziness)

Linus

Attachment: patch
Description: Binary data