]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thp: prepare for DAX huge pages
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 8 Sep 2015 21:58:45 +0000 (14:58 -0700)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:36 +0000 (12:19 -0500)
commit43d6362c4d561937fed2f4ab9946e5425af13614
tree483a7651129b641e2f97771289625367f1df8189
parent9a8ab4f52d29d9d7efc86c84a86671e62f810db4
thp: prepare for DAX huge pages

Orabug: 22913653

Add a vma_is_dax() helper macro to test whether the VMA is DAX, and use it
in zap_huge_pmd() and __split_huge_page_pmd().

[akpm@linux-foundation.org: fix build]
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 4897c7655d9419ba7e62bac145ec6a1847134d93)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
include/linux/dax.h
mm/huge_memory.c