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 13:53:10 +0200 Greg KH <[email protected]> wrote:

> On Mon, Jul 20, 2026 at 07:02:32PM +0800, Liew Rui Yan wrote:
> > Hi Greg,
> > 
> > On Mon, 20 Jul 2026 11:59:03 +0200, Greg KH wrote:
> > 
> > > Why is this a stable-only patch?  Did something go wrong with the
> > > backport of this commit that is not in the upstream version?

You are correct.  The typo was introduced by a mistake during the porting.  The
upstream commit (64a140afa5ed) doesn't have the typo.  This patch fixes the
typo.

> > 
> > Sorry for the confusion!
> > 
> > This is a stable-only patch because this specific function was removed
> > in mainline starting from v6.2.

It is true the function is removed in the mainline.  But that's not the reason
why we need this patch applied to only 6.1.  The reason is that the porting
introduced a bug.

> > 
> > Therefore, this bug only affects v6.1.176 and v6.1.177 stable branches.
> > Mainline does not have this function anymore.
> > 
> >     $ git tag --contains 2f54908fae21
> >     v6.1.176
> >     v6.1.177
> > 
> > Let me know if you want me to resend with this explanation
> > explicitly noted in the commit message.
> 
> Why can't we just take the same commits that are upstream that prevent
> this issue from happening?

We can't do so because the typo is only in the stable kernel.


Thanks,
SJ

[...]
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.