Re: [RFC] mm: alloc_pages_bulk_noprof: drop page_list argument

From: Matthew Wilcox
Date: Mon Dec 16 2024 - 13:56:24 EST


On Mon, Dec 16, 2024 at 01:45:04PM -0500, Luiz Capitulino wrote:
> The commit 387ba26fb1cb added __alloc_pages_bulk() along with the page_list
> argument. The next commit 0f87d9d30f21 added the array-based argument. As
> it turns out, the page_list argument has no users in the current tree (if it
> ever had any). Dropping it allows for a slight simplification and eliminates
> some unnecessary checks, now that page_array is required.

Maybe just fix up Mel's patch:

https://lore.kernel.org/linux-mm/20231025093254.xvomlctwhcuerzky@xxxxxxxxxxxxxxxxxxx/