]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thp: fix zap_huge_pmd() for DAX
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 8 Sep 2015 21:59:31 +0000 (14:59 -0700)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:47 +0000 (12:19 -0500)
commit96a0d78674c4fadd473c600e58c2fbcd0a0bc728
tree41480aef00add849dd02a31bf5d8c883e4faa0e4
parent7647606ad4bc81c18eab82d5474751b45fb412ef
thp: fix zap_huge_pmd() for DAX

Orabug: 22913653

The original DAX code assumed that pgtable_t was a pointer, which isn't
true on all architectures.  Restructure the code to not rely on that
assumption.

[willy@linux.intel.com: further fixes integrated into this patch]
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit da146769004e1dd5ed06853e6d009be8ca675d5f)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
mm/huge_memory.c