[PATCH v2 0/5] A few cleanup patches for hugetlb_cgroup

Miaohe Lin posted 5 patches 3 years, 8 months ago
include/linux/hugetlb_cgroup.h | 19 ++++++++-----------
mm/hugetlb_cgroup.c            | 27 ++++++++++++---------------
2 files changed, 20 insertions(+), 26 deletions(-)
[PATCH v2 0/5] A few cleanup patches for hugetlb_cgroup
Posted by Miaohe Lin 3 years, 8 months ago
Hi everyone,
This series contains a few cleaup patches to remove unneeded check,
use helper macro, remove unneeded return value and so on. More details
can be found in the respective changelogs.
Thanks!
---
v2:
 drop patch 2/6 per Mina
 collect Reviewed-by tag per Mina and Mike. Thanks for review!
---
Miaohe Lin (5):
  hugetlb_cgroup: remove unneeded nr_pages > 0 check
  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            | 27 ++++++++++++---------------
 2 files changed, 20 insertions(+), 26 deletions(-)

-- 
2.23.0