]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb()
authorDavid Hildenbrand <david@redhat.com>
Mon, 13 Jan 2025 13:16:09 +0000 (14:16 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:42 +0000 (20:22 -0800)
commitb235448e8cab7eea17d164efc7bf55505985ba65
tree848da55667f9a9a5470b4d5fc4aa0224f0c84d16
parentba23f58de896842028b4b33b95530f08288396fe
mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb()

Now that folio_putback_hugetlb() is only called on folios that were
previously isolated through folio_isolate_hugetlb(), let's rename it to
match folio_putback_lru().

Add some kernel doc to clarify how this function is supposed to be used.

Link: https://lkml.kernel.org/r/20250113131611.2554758-5-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
mm/hugetlb.c
mm/migrate.c