Re: [PATCH] mm/damon/sysfs: use the wrapper directly to check if the kdamond is running

From: Muchun Song
Date: Wed Sep 14 2022 - 03:10:04 EST




> On Sep 12, 2022, at 23:11, xiakaixu1987@xxxxxxxxx wrote:
>
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> We can use the 'damon_sysfs_kdamond_running()' wrapper directly to
> check if the kdamond is running in 'damon_sysfs_turn_damon_on()'.
>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.