]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm: thp: Return the correct value for change_huge_pmd
authorMel Gorman <mgorman@suse.de>
Sat, 7 Mar 2015 15:20:48 +0000 (15:20 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Mar 2015 21:07:41 +0000 (14:07 -0700)
commitba68bc0115ebfc37f911db4e87bf5f7991f89698
tree4d4806b791a737f9b54ff691f7092f683831d70e
parent09d35919b06e8508b51ee8a643a67b56f7bea0dd
mm: thp: Return the correct value for change_huge_pmd

The wrong value is being returned by change_huge_pmd since commit
10c1045f28e8 ("mm: numa: avoid unnecessary TLB flushes when setting
NUMA hinting entries") which allows a fallthrough that tries to adjust
non-existent PTEs. This patch corrects it.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c