Re: [PATCH] mm/damon/reclaim: fix typo in damon_reclaim_timer_fn()
SJ Park <[email protected]>
| Newsgroups | dev.linux.lists.damon,org.kernel.vger.stable,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 20 Jul 2026 17:47:08 +0800 Liew Rui Yan <[email protected]> wrote: > Commit 2f54908fae211 ("mm/damon/reclaim: detect and use fresh enabled > and kdamond_pid values") introduced a typo in damon_reclaim_timer_fn() > where '!=' was used instead of '==' (unlike damon_lru_sort_timer_fn()). > This caused damon_reclaim to return early during the delayed work, > breaking early boot parameter configuration like > 'damon_reclaim.enabled=Y'. > > Fix this by changing '!=' to '=='. Thank you for quickly fixing this! > > Fixes: 2f54908fae21 ("mm/damon/reclaim: detect and use fresh enabled and kdamond_pid values") > Cc: <[email protected]> # 6.1.x > Reported-by: Yikai Zhao <[email protected]> Closes: https://lore.kernel.org/CANMyjpgq5n0Ekt4dgyLRHGb89_Ew0aOMZ3j32V_w0GjHkqH1FQ@mail.gmail.com > Signed-off-by: Liew Rui Yan <[email protected]> Reviewed-by: SJ Park <[email protected]> Thanks, SJ [...]