[PATCH 0/9] convert hugetlb_cgroup helper functions to folios

Sidhartha Kumar posted 9 patches 3 years, 5 months ago
There is a newer version of this series
include/linux/hugetlb.h        |   6 +-
include/linux/hugetlb_cgroup.h |  85 ++++++++++++------------
mm/hugetlb.c                   | 115 ++++++++++++++++++---------------
mm/hugetlb_cgroup.c            |  63 +++++++++---------
mm/migrate.c                   |   2 +-
5 files changed, 144 insertions(+), 127 deletions(-)
[PATCH 0/9] convert hugetlb_cgroup helper functions to folios
Posted by Sidhartha Kumar 3 years, 5 months ago
This patch series continues the conversion of hugetlb code from being
managed in pages to folios by converting many of the hugetlb_cgroup helper
functions to use folios. This allows the core hugetlb functions to pass in
a folio to these helper functions.

This series depends on my previous patch series which begins the hugetlb
folio conversion[1], both series apply cleanly on next-20221013 and
pass the LTP hugetlb test cases.


[1] https://lore.kernel.org/lkml/20220922154207.1575343-1-sidhartha.kumar@oracle.com/

Sidhartha Kumar (9):
  mm/hugetlb_cgroup: convert __set_hugetlb_cgroup() to folios
  mm/hugetlb_cgroup: convert hugetlb_cgroup_from_page() to folios
  mm/hugetlb_cgroup: convert set_hugetlb_cgroup*() to folios
  mm/hugetlb_cgroup: convert hugetlb_cgroup_migrate to folios
  mm/hugetlb: convert isolate_or_dissolve_huge_page to folios
  mm/hugetlb: convert free_huge_page to folios
  mm/hugetlb_cgroup: convert hugetlb_cgroup_uncharge_page() to folios
  mm/hugeltb_cgroup: convert hugetlb_cgroup_commit_charge*() to folios
  mm/hugetlb: convert move_hugetlb_state() to folios

 include/linux/hugetlb.h        |   6 +-
 include/linux/hugetlb_cgroup.h |  85 ++++++++++++------------
 mm/hugetlb.c                   | 115 ++++++++++++++++++---------------
 mm/hugetlb_cgroup.c            |  63 +++++++++---------
 mm/migrate.c                   |   2 +-
 5 files changed, 144 insertions(+), 127 deletions(-)

-- 
2.31.1