Re: [PATCH v2] mm/damon/vaddr: remove swap_ranges() and replace it with swap()

From: SeongJae Park
Date: Thu Nov 11 2021 - 03:13:33 EST


On Wed, 10 Nov 2021 22:46:17 -0800 Yihao Han <hanyihao@xxxxxxxx> wrote:

> Remove 'swap_ranges()' and replace it with the macro 'swap()'
> defined in 'include/linux/minmax.h' to simplify code and improve efficiency
>
> Changes in v2:
> - Remove the 'swap_ranges()' function and replace it with 'swap()'
> rather than changing the 'swap_ranges()' itself
>
> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Signed-off-by: Yihao Han <hanyihao@xxxxxxxx>
> ---

The above changes log would not supposed to be in the commit log, so putting it
here would be better.

Other than that,

Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>


Thanks,
SJ

[...]