Re: [PATCH] mm: prefer xxx_page() alloc/free functions for order-0 pages

From: Lorenzo Stoakes
Date: Sun Mar 19 2023 - 08:13:54 EST


On Fri, Mar 17, 2023 at 10:24:47AM +0200, Mike Rapoport wrote:
> On Mon, Mar 13, 2023 at 12:27:14PM +0000, Lorenzo Stoakes wrote:
> > Update instances of alloc_pages(..., 0), __get_free_pages(..., 0) and
> > __free_pages(..., 0) to use alloc_page(), __get_free_page() and
> > __free_page() respectively in core code.
> >
> > Signed-off-by: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
>
> Reviewed-by: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>
>
> But why limit this only to mm?

I wanted to keep things 'polite' and within mm to begin with, I may follow up
with a scout around other areas of the kernel.