aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2024-07-25 10:16:43 +0800
committerAndrew Morton <[email protected]>2024-09-01 20:25:50 -0700
commit6c469957cd172c1bcea8c5b77bc711a245b0934f (patch)
tree868123f1d576911609c5966a00f880e17e2a8a64
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/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Vishal Moola (Oracle) <[email protected]> Cc: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-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;