Re: [PATCH] mm/damon/reclaim: fix typo in damon_reclaim_timer_fn()

Greg KH <[email protected]>
Newsgroups dev.linux.lists.damon,org.kernel.vger.stable,org.kvack.linux-mm
Message-ID <2026072041-rearview-unselect-3f92@gregkh>
On Mon, Jul 20, 2026 at 05:47:08PM +0800, Liew Rui Yan 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 '=='.
> 
> Fixes: 2f54908fae21 ("mm/damon/reclaim: detect and use fresh enabled and kdamond_pid values")

Why is this a stable-only patch?  Did something go wrong with the
backport of this commit that is not in the upstream version?

thanks,

greg k-h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.