]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb: mm/memory_hotplug: use a folio in scan_movable_pages()
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Thu, 30 May 2024 17:14:27 +0000 (10:14 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:02 +0000 (19:30 -0700)
commit16540dae959d862909716d5c854e9b3aee285609
tree469f62389c1f7d7a1ed8c69d365f389313a811ea
parent508758960b8d89fa464abce2f9897973c8e8d4f0
mm/hugetlb: mm/memory_hotplug: use a folio in scan_movable_pages()

By using a folio in scan_movable_pages() we convert the last user of the
page-based hugetlb information macro functions to the folio version.
After this conversion, we can safely remove the page-based definitions
from include/linux/hugetlb.h.

Link: https://lkml.kernel.org/r/20240530171427.242018-1-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
mm/memory_hotplug.c