Re: [PATCH v3 0/8] Minor cleanups and improvements to swap freeing code

From: Baoquan He
Date: Mon Mar 24 2025 - 05:43:33 EST


On 03/20/25 at 07:48pm, Kemeng Shi wrote:
> v2->v3:
> -Extent VM_BUG_ON instead of remove it
> -Keep bracket for more readability
> -Collect RVG from Tim for rest part
>
> v1->v2:
> -Collect RVB from Tim
> -Drop patch to factor out __swap_entry_free()
> -Improve changelog and add more comment.
> -Avoid unneeded lock re-aquire
>
> Hi All,
> This series contains some cleanups and improvements which are made
> during learning swapfile. Here is a summary of the changes:

Nice improvements about swapfile.c. Those kinds of swap_free_xxx
confused me, I planned to clean up them. Thanks for great work.

Reviewed-by: Baoquan He <bhe@xxxxxxxxxx>