[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220826092422.39591-1-linmiaohe@huawei.com>
Date: Fri, 26 Aug 2022 17:24:12 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>, <mike.kravetz@...cle.com>,
<songmuchun@...edance.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linmiaohe@...wei.com>
Subject: [PATCH 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!
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
Powered by blists - more mailing lists