[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c7aee943-2802-4a41-8e3e-e80f45e80dec@redhat.com>
Date: Sun, 13 Apr 2025 22:05:45 +0200
From: David Hildenbrand <david@...hat.com>
To: nifan.cxl@...il.com, willy@...radead.org
Cc: mcgrof@...nel.org, a.manzanares@...sung.com, dave@...olabs.net,
akpm@...ux-foundation.org, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
will@...nel.org, aneesh.kumar@...nel.org, hca@...ux.ibm.com,
gor@...ux.ibm.com, linux-s390@...r.kernel.org, ziy@...dia.com,
Fan Ni <fan.ni@...sung.com>, "Vishal Moola (Oracle)" <vishal.moola@...il.com>
Subject: Re: [PATCH v2] mm: Introduce free_folio_and_swap_cache() to replace
free_page_and_swap_cache()
On 13.04.25 06:22, nifan.cxl@...il.com wrote:
> From: Fan Ni <fan.ni@...sung.com>
>
> The function free_page_and_swap_cache() takes a struct page pointer as
> input parameter, but it will immediately convert it to folio and all
> operations following within use folio instead of page. It makes more
> sense to pass in folio directly.
>
> Introduce free_folio_and_swap_cache(), which takes folio as input to
> replace free_page_and_swap_cache(). And apply it to all occurrences
> where free_page_and_swap_cache() was used.
Patch title should better be
"mm: convert free_page_and_swap_cache() to free_folio_and_swap_cache()"
and similarly adjust the patch description. Thanks!
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists