mbox series

[0/6] A few cleanup patches for hugetlb_cgroup

Message ID 20220728121949.20985-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few cleanup patches for hugetlb_cgroup | expand

Message

Miaohe Lin July 28, 2022, 12:19 p.m. UTC
Hi everyone,
This series contains a few cleaup patches to remove unneeded header file,
use helper macro, remove unneeded return value and so on. More details
can be found in the respective changelogs.
Thanks!

Miaohe Lin (6):
  hugetlb_cgroup: remove unneeded nr_pages > 0 check
  hugetlb_cgroup: remove unneeded header file
  hugetlb_cgroup: hugetlbfs: use helper macro SZ_1{K,M,G}
  hugetlb_cgroup: remove unneeded return value
  hugetlb_cgroup: use helper macro NUMA_NO_NODE
  hugetlb_cgroup: use helper for_each_hstate and hstate_index

 include/linux/hugetlb_cgroup.h | 19 ++++++++-----------
 mm/hugetlb_cgroup.c            | 28 ++++++++++++----------------
 2 files changed, 20 insertions(+), 27 deletions(-)