A few cleanup patches for hugetlb
Status from this message: [merged mm-stable] hugetlb-make-hugetlb-depends-on-sysfs-or-sysctl.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 0 repliesApplied 10/10
- v16 patches 11 repliesSuperseded 5 of 6 applied
Changes in v2 from the cover letter
collect Reviewed-by tags per Muchun. Thanks!
tweak the commit log in 3/10
change to add a comment for SetHPageVmemmapOptimized() in 8/10 make hugetlb depends on SYSFS || SYSCTL in 10/10
---
Miaohe Lin (10):
hugetlb: make hugetlb_cma_check() static
hugetlb: Use helper macro SZ_1K
hugetlb: Use LIST_HEAD() to define a list head
hugetlb: Use sizeof() to get the array size
hugetlb: Use helper {huge_pte|pmd}_lock()
hugetlb: pass NULL to kobj_to_hstate() if nid is unused
hugetlb: kill hugetlbfs_pagecache_page()
hugetlb: add comment for subtle SetHPageVmemmapOptimized()
hugetlb: remove meaningless BUG_ON(huge_pte_none())
hugetlb: make hugetlb depends on SYSFS or SYSCTL
Patches in v2 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | hugetlb: make hugetlb_cma_check() staticinclude/ mm/ | +9 | 0 replies | Applied |
| 2/10 | hugetlb: Use helper macro SZ_1Kmm/ | +1 | 0 replies | Applied |
| 3/10 | hugetlb: Use LIST_HEAD() to define a list headmm/ | +2 | 0 replies | Applied |
| 4/10 | hugetlb: Use sizeof() to get the array sizemm/ | +2 | 0 replies | Applied |
| 5/10 | hugetlb: Use helper {huge_pte|pmd}_lock()mm/ | +2 | 0 replies | Applied |
| 6/10 | hugetlb: pass NULL to kobj_to_hstate() if nid is unusedmm/ | +2 | 0 replies | Applied |
| 7/10 | hugetlb: kill hugetlbfs_pagecache_page()mm/ | +1 | 0 replies | Applied |
| 8/10 | hugetlb: add comment for subtle SetHPageVmemmapOptimized()mm/ | +4 | 0 replies | Applied |
| 9/10 | hugetlb: remove meaningless BUG_ON(huge_pte_none())mm/ | +0 | 0 replies | Applied |
| 10/10 | hugetlb: make hugetlb depends on SYSFS or SYSCTLfs/ | +1 | 0 replies | Applied |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Muchun Song |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] A few cleanup patches for hugetlb
Hi everyone,
This series contains a few cleanup patches to use helper functions to simplify the codes, remove unneeded nid parameter and so on. More details can be found in the respective changelogs.
Thanks!
---
v2:
collect Reviewed-by tags per Muchun. Thanks!
tweak the commit log in 3/10
change to add a comment for SetHPageVmemmapOptimized() in 8/10 make hugetlb depends on SYSFS || SYSCTL in 10/10
---
Miaohe Lin (10):
hugetlb: make hugetlb_cma_check() static
hugetlb: Use helper macro SZ_1K
hugetlb: Use LIST_HEAD() to define a list head
hugetlb: Use sizeof() to get the array size
hugetlb: Use helper {huge_pte|pmd}_lock()
hugetlb: pass NULL to kobj_to_hstate() if nid is unused
hugetlb: kill hugetlbfs_pagecache_page()
hugetlb: add comment for subtle SetHPageVmemmapOptimized()
hugetlb: remove meaningless BUG_ON(huge_pte_none())
hugetlb: make hugetlb depends on SYSFS or SYSCTL
fs/Kconfig | 1 + include/linux/hugetlb.h | 4 --- mm/hugetlb.c | 55 +++++++++++++++++------------------------ 3 files changed, 24 insertions(+), 36 deletions(-)
Signature · 1 line
2.23.0