From: Kefeng Wang Date: Thu, 25 Jul 2024 02:16:43 +0000 (+0800) Subject: mm: hugetlb: remove left over comment about follow_huge_foo() X-Git-Tag: v6.12-rc1~115^2~387 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c469957cd172c1bcea8c5b77bc711a245b0934f;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: David Hildenbrand Reviewed-by: Vishal Moola (Oracle) Cc: Muchun Song Signed-off-by: Andrew Morton --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index aaf508be0a2b0..5a32157ca3093 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;