summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-02 22:06:54 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-04-26 05:56:40 +0200
commitf6a8dd98a2ce7ace0be59d77868751131af6d2f0 (patch)
tree35db7d779081baea9953b077388188f883a98188 /mm/gup.c
parentmm: remove struct page from get_shadow_from_swap_cache (diff)
downloadlinux-f6a8dd98a2ce7ace0be59d77868751131af6d2f0.tar.xz
linux-f6a8dd98a2ce7ace0be59d77868751131af6d2f0.zip
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 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions