Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] mm/damon/core : fix commit_ops_filters by using correct nth function
       [not found] <20250808195518.563053-3-ekffu200098@gmail.com>
@ 2025-08-08 22:08 ` SeongJae Park
  2025-08-08 23:26   ` SeongJae Park
  0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2025-08-08 22:08 UTC (permalink / raw)
  To: Sang-Heon Jeon
  Cc: SeongJae Park, honggyu.kim, damon, linux-mm, Andrew Morton,
	stable

On Sat,  9 Aug 2025 04:55:18 +0900 Sang-Heon Jeon <ekffu200098@gmail.com> wrote:

> damos_commit_ops_filters() incorrectly uses damos_nth_filter() which
> iterates core_filters. As a result, performing a commit unintentionally
> corrupts ops_filters.
> 
> Add damos_nth_ops_filter() which iterates ops_filters. Use this function
> to fix issues caused by wrong iteration.

Thank you for finding and fixing this bug!  Since this bug is better to be
fixed as soon as possible, could you please send the next version of this patch
as an individual one, rather than as a part of this patchset?

> 
> Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>

Let's add below for stable kernel maintainers[1].

Fixes: 3607cc590f18 ("mm/damon/core: support committing ops_filters") # 6.15.x
Cc: stable@vger.kernel.org

And the fix looks good to me, so

Reviewed-by: SeongJae Park <sj@kernel.org>

[...]

[1] https://docs.kernel.org/process/stable-kernel-rules.html


Thanks,
SJ

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] mm/damon/core : fix commit_ops_filters by using correct nth function
  2025-08-08 22:08 ` [PATCH 2/2] mm/damon/core : fix commit_ops_filters by using correct nth function SeongJae Park
@ 2025-08-08 23:26   ` SeongJae Park
  0 siblings, 0 replies; 2+ messages in thread
From: SeongJae Park @ 2025-08-08 23:26 UTC (permalink / raw)
  To: SeongJae Park
  Cc: Sang-Heon Jeon, honggyu.kim, damon, linux-mm, Andrew Morton,
	stable

Forgot saying this, sorry.  Please update the subject to not have a space
before ':', for consistency.


Thanks,
SJ

[...]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-08 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250808195518.563053-3-ekffu200098@gmail.com>
2025-08-08 22:08 ` [PATCH 2/2] mm/damon/core : fix commit_ops_filters by using correct nth function SeongJae Park
2025-08-08 23:26   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox