summaryrefslogtreecommitdiff
path: root/arch/loongarch
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-02 23:06:54 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-04-26 06:56:40 +0300
commitf6a8dd98a2ce7ace0be59d77868751131af6d2f0 (patch)
tree35db7d779081baea9953b077388188f883a98188 /arch/loongarch
parent4c773a44257f1f8a88ebc2c1bf67799bb4d6f409 (diff)
downloadlinux-f6a8dd98a2ce7ace0be59d77868751131af6d2f0.tar.xz
hugetlb: convert alloc_buddy_hugetlb_folio to use a folio
While this function returned a folio, it was still using __alloc_pages() and __free_pages(). Use __folio_alloc() and put_folio() instead. This actually removes a call to compound_head(), but more importantly, it prepares us for the move to memdescs. Link: https://lkml.kernel.org/r/20240402200656.913841-1-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/loongarch')
0 files changed, 0 insertions, 0 deletions