Re: [PATCH v4 2/6] mm: swap: free_swap_and_cache_nr() as batched free_swap_and_cache()

From: Ryan Roberts
Date: Wed Mar 20 2024 - 10:21:45 EST


On 20/03/2024 14:13, David Hildenbrand wrote:
> On 20.03.24 12:10, Ryan Roberts wrote:
>> Hi David,
>
> I'm usually lazy with review during the merge window :P

Ahh no worries! I'll send out the latest version next week, and can go from there.

>
>>
>> I hate to chase, but since you provided feedback on a couple of the other
>> patches in the series, I wondered if you missed this one? It's the one that does
>> the batching of free_swap_and_cache(), which you suggested in order to prevent
>> needlessly taking folio locks and refs.
>>
>> If you have any feedback, it would be appreciated, otherwise I'm planning to
>> repost as-is next week (nobody else has posted comments against this patch
>> either) as part of the updated series.
>
> On my TODO list!
>