linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Luiz Capitulino <luizcap@redhat.com>,
	linux-mm@kvack.org, mgorman@techsingularity.net,
	willy@infradead.org
Cc: linux-kernel@vger.kernel.org, lcapitulino@gmail.com
Subject: Re: [PATCH 2/2] mm: alloc_pages_bulk: rename API
Date: Thu, 19 Dec 2024 14:26:27 +0100	[thread overview]
Message-ID: <c35b14af-eeec-4d5f-8e2b-66d0b9b8cac8@redhat.com> (raw)
In-Reply-To: <c0ca588a54915bc058574c052fd12ef710fb5446.1734453061.git.luizcap@redhat.com>

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@redhat.com>

Sounds reasonable to me

Acked-by: David Hildenbrand <david@redhat.com>


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



      reply	other threads:[~2024-12-19 13:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 16:31 [PATCH 0/2] mm: alloc_pages_bulk: small API refactor Luiz Capitulino
2024-12-17 16:31 ` [PATCH 1/2] mm: alloc_pages_bulk_noprof: drop page_list argument Luiz Capitulino
2024-12-19 13:24   ` David Hildenbrand
2024-12-19 15:50     ` Luiz Capitulino
2024-12-17 16:31 ` [PATCH 2/2] mm: alloc_pages_bulk: rename API Luiz Capitulino
2024-12-19 13:26   ` David Hildenbrand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c35b14af-eeec-4d5f-8e2b-66d0b9b8cac8@redhat.com \
    --to=david@redhat.com \
    --cc=lcapitulino@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=luizcap@redhat.com \
    --cc=mgorman@techsingularity.net \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox