summaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-07-25 10:16:43 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-01 20:25:50 -0700
commit6c469957cd172c1bcea8c5b77bc711a245b0934f (patch)
tree868123f1d576911609c5966a00f880e17e2a8a64 /mm/hugetlb.c
parente0b2fdb352b7991664b23ae5e15b537cd79a7820 (diff)
mm: hugetlb: remove left over comment about follow_huge_foo()
The comment is useless after commit 57a196a58421 ("hugetlb: simplify hugetlb handling in follow_page_mask") since all follow_huge_foo() are killed. Link: https://lkml.kernel.org/r/20240725021643.1358536-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Cc: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index aaf508be0a2b..5a32157ca309 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -7503,10 +7503,6 @@ __weak unsigned long hugetlb_mask_last_page(struct hstate *h)
#endif /* CONFIG_ARCH_WANT_GENERAL_HUGETLB */
-/*
- * These functions are overwritable if your architecture needs its own
- * behavior.
- */
bool isolate_hugetlb(struct folio *folio, struct list_head *list)
{
bool ret = true;