linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] A few cleanup patches for hugetlb
@ 2022-08-26  9:24 Miaohe Lin
  2022-08-26  9:24 ` [PATCH 01/10] hugetlb: make hugetlb_cma_check() static Miaohe Lin
                   ` (9 more replies)
  0 siblings, 10 replies; 27+ messages in thread
From: Miaohe Lin @ 2022-08-26  9:24 UTC (permalink / raw)
  To: akpm, mike.kravetz, songmuchun; +Cc: linux-mm, linux-kernel, linmiaohe

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!

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: remove unneeded SetHPageVmemmapOptimized()
  hugetlb: remove meaningless BUG_ON(huge_pte_none())
  hugetlb: make hugetlb selects SYSFS if !SYSCTL

 fs/Kconfig              |  1 +
 include/linux/hugetlb.h |  4 ----
 mm/hugetlb.c            | 52 +++++++++++++++--------------------------
 3 files changed, 20 insertions(+), 37 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2022-08-27  6:39 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26  9:24 [PATCH 00/10] A few cleanup patches for hugetlb Miaohe Lin
2022-08-26  9:24 ` [PATCH 01/10] hugetlb: make hugetlb_cma_check() static Miaohe Lin
2022-08-27  1:40   ` Muchun Song
2022-08-26  9:24 ` [PATCH 02/10] hugetlb: Use helper macro SZ_1K Miaohe Lin
2022-08-27  1:40   ` Muchun Song
2022-08-26  9:24 ` [PATCH 03/10] hugetlb: Use LIST_HEAD() to define a list head Miaohe Lin
2022-08-27  1:47   ` Muchun Song
2022-08-27  2:27     ` Miaohe Lin
2022-08-27  2:48       ` Muchun Song
2022-08-27  6:38         ` Miaohe Lin
2022-08-26  9:24 ` [PATCH 04/10] hugetlb: Use sizeof() to get the array size Miaohe Lin
2022-08-27  1:43   ` Muchun Song
2022-08-26  9:24 ` [PATCH 05/10] hugetlb: Use helper {huge_pte|pmd}_lock() Miaohe Lin
2022-08-27  1:48   ` Muchun Song
2022-08-26  9:24 ` [PATCH 06/10] hugetlb: pass NULL to kobj_to_hstate() if nid is unused Miaohe Lin
2022-08-27  1:49   ` Muchun Song
2022-08-26  9:24 ` [PATCH 07/10] hugetlb: kill hugetlbfs_pagecache_page() Miaohe Lin
2022-08-27  1:52   ` Muchun Song
2022-08-26  9:24 ` [PATCH 08/10] hugetlb: remove unneeded SetHPageVmemmapOptimized() Miaohe Lin
2022-08-27  1:35   ` Muchun Song
2022-08-27  2:18     ` Miaohe Lin
2022-08-27  2:56       ` Muchun Song
2022-08-26  9:24 ` [PATCH 09/10] hugetlb: remove meaningless BUG_ON(huge_pte_none()) Miaohe Lin
2022-08-27  2:03   ` Muchun Song
2022-08-26  9:24 ` [PATCH 10/10] hugetlb: make hugetlb selects SYSFS if !SYSCTL Miaohe Lin
2022-08-27  1:59   ` Muchun Song
2022-08-27  2:34     ` Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).