linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm, smaps: MMUPageSize for device-dax
@ 2017-12-08  3:30 Dan Williams
  2017-12-08  3:30 ` [PATCH 1/2] mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct Dan Williams
  2017-12-08  3:31 ` [PATCH 2/2] device-dax: implement ->pagesize() for smaps to report MMUPageSize Dan Williams
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Williams @ 2017-12-08  3:30 UTC (permalink / raw)
  To: akpm
  Cc: Jane Chu, linux-nvdimm, Michael Ellerman, linux-mm,
	Paul Mackerras, Benjamin Herrenschmidt

Andrew,

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.

This is 4.16 material.

---

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/hugetlb.h       |   30 ++++++++++++++++++++++++------
 include/linux/mm.h            |    1 +
 mm/hugetlb.c                  |   38 ++++++++------------------------------
 5 files changed, 44 insertions(+), 40 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-13 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08  3:30 [PATCH 0/2] mm, smaps: MMUPageSize for device-dax Dan Williams
2017-12-08  3:30 ` [PATCH 1/2] mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct Dan Williams
2017-12-10 11:37   ` Michal Hocko
2017-12-13 13:07     ` Michael Ellerman
2017-12-08  3:31 ` [PATCH 2/2] device-dax: implement ->pagesize() for smaps to report MMUPageSize Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox