On 11/29/22 14:50, Sidhartha Kumar wrote: > Many hugetlb allocation helper functions have now been converting to > folios, update their higher level callers to be compatible with folios. > alloc_pool_huge_page is reorganized to avoid a smatch warning reporting > the folio variable is unintialized. > > Signed-off-by: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx> > Reported-by: Wei Chen <harperchen1110@xxxxxxxxx> > Suggested-by: John Hubbard <jhubbard@xxxxxxxxxx> > Suggested-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> > --- > mm/hugetlb.c | 120 ++++++++++++++++++++++++--------------------------- > 1 file changed, 57 insertions(+), 63 deletions(-) Thanks! And, thank you to John, Wei and Rasmus for helping with previous versions of the patch. Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx> -- Mike Kravetz