mm/hugetlb: get rid of page_hstate()
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Wed, 19 Jul 2023 18:41:45 +0000 (11:41 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:39 +0000 (10:12 -0700)
commitaffd26b1fbd67fceea70d9ceac40ff4815afbeb5
tree91066616d2175814f0066fbaba9a9794081272c5
parent89be82b4fed258b63a201d92fca95e7c55913c23
mm/hugetlb: get rid of page_hstate()

Convert the last page_hstate() user to use folio_hstate() so page_hstate()
can be safely removed.

Link: https://lkml.kernel.org/r/20230719184145.301911-1-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
mm/hugetlb.c
mm/page_isolation.c