diff options
author | Yu Zhao <[email protected]> | 2019-02-12 15:35:58 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-02-12 16:33:18 -0800 |
commit | 414fd080d125408cb15d04ff4907e1dd8145c8c7 (patch) | |
tree | af0d71838b5392eb11d670745ee1624c1e166af5 /tools | |
parent | a9a238e83fbb0df31c3b9b67003f8f9d1d1b6c96 (diff) |
mm/gup: fix gup_pmd_range() for dax
For dax pmd, pmd_trans_huge() returns false but pmd_huge() returns true
on x86. So the function works as long as hugetlb is configured.
However, dax doesn't depend on hugetlb.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yu Zhao <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: "Michael S . Tsirkin" <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Wei Yang <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions