]> git.baikalelectronics.ru Git - 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)
commit6506818ddf3715bdcaa2a29bf7d64d8a86a133b1
tree4d4806b791a737f9b54ff691f7092f683831d70e
parent8548cbfdbf3739aef13ded4f90c30a3efc56cc49
mm: thp: Return the correct value for change_huge_pmd

The wrong value is being returned by change_huge_pmd since commit
151fcb2f7813 ("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