Re: [PATCH] mm: shrinker: Use min() to improve shrinker_debugfs_scan_write()

From: Muchun Song
Date: Tue Aug 20 2024 - 22:26:01 EST




> On Aug 20, 2024, at 12:22, Thorsten Blum <thorsten.blum@xxxxxxxxxx> wrote:
>
> Use the min() macro to simplify the shrinker_debugfs_scan_write()
> function and improve its readability.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>

Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>

Thanks.