]> 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)
commit385e86bdd62ed56a996fa8fb94a6564a2760cc35
tree4d4806b791a737f9b54ff691f7092f683831d70e
parent2e487f0a6413680af6be113bfc0378f1f7f1df13
mm: thp: Return the correct value for change_huge_pmd

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