mm: convert free_huge_page() to free_huge_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 16 Aug 2023 15:11:51 +0000 (16:11 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 21:28:43 +0000 (14:28 -0700)
commit454a00c40a21c59e99c526fe8cc57bd029cf8f0e
tree7295e10b862852ef94483d0343371daa9c7cbb91
parentdd6fa0b61814492476463149c91110e529364e82
mm: convert free_huge_page() to free_huge_folio()

Pass a folio instead of the head page to save a few instructions.  Update
the documentation, at least in English.

Link: https://lkml.kernel.org/r/20230816151201.3655946-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Yanteng Si <siyanteng@loongson.cn>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/mm/hugetlbfs_reserv.rst
Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
include/linux/hugetlb.h
mm/hugetlb.c
mm/page_alloc.c