]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb: convert restore_reserve_on_error() to folios
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Fri, 13 Jan 2023 22:30:56 +0000 (16:30 -0600)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:35:59 +0000 (15:35 -0800)
commitf52e60dfc8c9de5759017c6761b2a8d496cf19a7
treeaf385bbd20594104d27ce3d70191c9bae30fbc64
parent88f37b4c9fce6bea1ef80026df244d28be2d77e5
mm/hugetlb: convert restore_reserve_on_error() to folios

Use the hugetlb folio flag macros inside restore_reserve_on_error() and
update the comments to reflect the use of folios.

Link: https://lkml.kernel.org/r/20230113223057.173292-8-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c