Re: [PATCH 2/2] mm: alloc_pages_bulk: rename API

From: David Hildenbrand
Date: Thu Dec 19 2024 - 08:30:39 EST


On 17.12.24 17:31, Luiz Capitulino wrote:
The previous commit removed the page_list argument from
alloc_pages_bulk_noprof() along with the alloc_pages_bulk_list() function.

Now that only the *_array() flavour of the API remains, we can do the
following renaming (along with the _noprof() ones):

alloc_pages_bulk_array -> alloc_pages_bulk
alloc_pages_bulk_array_mempolicy -> alloc_pages_bulk_mempolicy
alloc_pages_bulk_array_node -> alloc_pages_bulk_node

Signed-off-by: Luiz Capitulino <luizcap@xxxxxxxxxx>

Sounds reasonable to me

Acked-by: David Hildenbrand <david@xxxxxxxxxx>


Interestingly, drivers/staging/media/atomisp/pci/hmm/hmm_bo.c has a free_pages_bulk_array() function -- which we should definitively leave alone for now :)

--
Cheers,

David / dhildenb