OSDN Git Service

Fixes: Commit 2aa6d036b716 ("mm: numa: avoid waiting on freed migrated pages")
authorChas Williams <chas3@att.com>
Thu, 6 Sep 2018 15:09:10 +0000 (11:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:43:01 +0000 (09:43 +0200)
commit77d1a435f8c635038198ff0b962bfde83dd88764
treebfe8adbf39f08b039c75a2275419343770645ebd
parent4438e9db9574040e583574fd69da1ce0ff99cb86
Fixes: Commit 2aa6d036b716 ("mm: numa: avoid waiting on freed migrated pages")

Commit 2aa6d036b716 ("mm: numa: avoid waiting on freed migrated pages")
was an incomplete backport of the upstream commit.  It is necessary to
always reset page_nid before attempting any early exit.

The original commit conflicted due to lack of commit 82b0f8c39a38
("mm: join struct fault_env and vm_fault") in 4.9 so it wasn't a clean
application, and the change must have just gotten lost in the noise.

Signed-off-by: Chas Williams <chas3@att.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/huge_memory.c