Changes since v2:
* Split the fix of the definition vma_mmu_pagesize() on powerpc to its
  own patch.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2018-February/014101.html

---

Andrew,

Similar to commit 31383c6865a5 "mm, hugetlbfs: introduce ->split() to
vm_operations_struct" here is another occasion where we want
special-case hugetlbfs/hstate enabling to also apply to device-dax.

This begs the question 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.

---

Dan Williams (3):
      mm, powerpc: use vma_kernel_pagesize() in vma_mmu_pagesize()
      mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct
      device-dax: implement ->pagesize() for smaps to report MMUPageSize


 arch/powerpc/include/asm/hugetlb.h |    6 ------
 arch/powerpc/mm/hugetlbpage.c      |    5 +----
 drivers/dax/device.c               |   10 ++++++++++
 include/linux/mm.h                 |    1 +
 mm/hugetlb.c                       |   27 ++++++++++++++-------------
 5 files changed, 26 insertions(+), 23 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to