All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] refactor shmem_get_unmapped_area()
@ 2016-09-09 22:24 ` Toshi Kani
  0 siblings, 0 replies; 20+ messages in thread
From: Toshi Kani @ 2016-09-09 22:24 UTC (permalink / raw)
  To: akpm
  Cc: linux-nvdimm, mawilcox, hughd, linux-kernel, linux-mm, kirill.shutemov

shmem_get_unmapped_area() provides a functionality similar
to __thp_get_unmapped_area() as both allocate a pmd-aligned
address.  This patchset changes shmem_get_unmapped_area()
to call __thp_get_unmapped_area() to share the code.

Patch 1 fixes a bug in shmem_get_unmapped_area() first.
Patch 2 changes shmem_get_unmapped_area() to call
__thp_get_unmapped_area() for sharing the code.

This patch-set applies on top of my patchset below.
https://lkml.org/lkml/2016/8/29/560

---
Toshi Kani (2):
 1/2 shmem: fix tmpfs to handle the huge= option properly
 2/2 shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr

---
 include/linux/huge_mm.h | 10 +++++++
 mm/shmem.c              | 70 ++++++++++---------------------------------------
 2 files changed, 24 insertions(+), 56 deletions(-)

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

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

end of thread, other threads:[~2016-09-23  2:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09 22:24 [PATCH 0/2] refactor shmem_get_unmapped_area() Toshi Kani
2016-09-09 22:24 ` Toshi Kani
2016-09-09 22:24 ` Toshi Kani
2016-09-09 22:24 ` [PATCH 1/2] shmem: fix tmpfs to handle the huge= option properly Toshi Kani
2016-09-09 22:24   ` Toshi Kani
2016-09-09 22:24   ` Toshi Kani
2016-09-12  9:59   ` Kirill A. Shutemov
2016-09-12  9:59     ` Kirill A. Shutemov
2016-09-12  9:59     ` Kirill A. Shutemov
2016-09-22 10:58   ` Aneesh Kumar K.V
2016-09-22 10:58     ` Aneesh Kumar K.V
2016-09-22 10:58     ` Aneesh Kumar K.V
2016-09-23  2:33     ` Hugh Dickins
2016-09-23  2:33       ` Hugh Dickins
2016-09-23  2:33       ` Hugh Dickins
2016-09-09 22:24 ` [PATCH 2/2] shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr Toshi Kani
2016-09-09 22:24   ` Toshi Kani
2016-09-09 22:24   ` Toshi Kani
2016-09-12 10:02   ` Kirill A. Shutemov
2016-09-12 10:02     ` Kirill A. Shutemov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.