Andrew, >From Dan Williams: Here is another occasion where we want special-case hugetlbfs enabling to also apply to device-dax. I started to wonder what other hstate conversions we might do beyond ->split() and ->pagesize(), but this appears to be the last of the usages of hstate_vma() in generic/non-hugetlbfs specific code paths. v2: I fixed up the powerpc build issue that Michal reported by restoring the original location of the function and making the symbol weak. --- Dan Williams (2): mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct device-dax: implement ->pagesize() for smaps to report MMUPageSize arch/powerpc/mm/hugetlbpage.c | 5 +---- drivers/dax/device.c | 10 ++++++++++ include/linux/mm.h | 1 + mm/hugetlb.c | 23 ++++++++++++----------- 4 files changed, 24 insertions(+), 15 deletions(-) -- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>