[PATCH v2 0/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

From: changbin . du
Date: Fri Oct 20 2017 - 04:44:04 EST


From: Changbin Du <changbin.du@xxxxxxxxx>

The first one introduce new interfaces, the second one kills naming confusion.
The aim is to simplify transparent huge page allocation and remove duplicated
code.

V2:
- Coding improvment.
- Fix build error if thp is disabled.

Changbin Du (2):
mm, thp: introduce dedicated transparent huge page allocation
interfaces
mm: rename page dtor functions to {compound,huge,transhuge}_page__dtor

Documentation/vm/hugetlbfs_reserv.txt | 4 +--
include/linux/gfp.h | 4 ---
include/linux/huge_mm.h | 20 ++++++++++++--
include/linux/hugetlb.h | 2 +-
include/linux/migrate.h | 14 ++++------
include/linux/mm.h | 8 +++---
mm/huge_memory.c | 52 +++++++++++++++++++++++++++++------
mm/hugetlb.c | 14 +++++-----
mm/khugepaged.c | 11 ++------
mm/mempolicy.c | 14 ++--------
mm/migrate.c | 14 +++-------
mm/page_alloc.c | 10 +++----
mm/shmem.c | 6 ++--
mm/swap.c | 2 +-
mm/userfaultfd.c | 2 +-
15 files changed, 97 insertions(+), 80 deletions(-)

--
2.7.4