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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux