Re: [PATCH v1] mm: simplify list initialization in barn_shrink()

From: Vlastimil Babka

Date: Thu Nov 13 2025 - 04:33:07 EST


On 11/13/25 09:37, Harry Yoo wrote:
> On Tue, Nov 11, 2025 at 08:22:05PM +0800, Baolin Liu wrote:
>> From: Baolin Liu <liubaolin@xxxxxxxxxx>
>>
>> In barn_shrink(),use LIST_HEAD() to declare and initialize
> ^ nit: need space after comma

Fixed up locally.

>
>> the list_head in one step instead of using INIT_LIST_HEAD() separately.
>>
>> No functional change.
>>
>> Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
>> ---
>
> Looks good to me,
> Reviewed-by: Harry Yoo <harry.yoo@xxxxxxxxxx>

Thanks, applied to slab/for-next