Re: [PATCH v1] mm: simplify list initialization in barn_shrink()
From: Harry Yoo
Date: Thu Nov 13 2025 - 03:37:36 EST
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
> 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>
--
Cheers,
Harry / Hyeonggon