Re: [RFC PATCH 12/12] mm/damon/core: add trace point for damos stat per apply interval
From: SeongJae Park
Date: Mon Nov 24 2025 - 10:38:10 EST
On Mon, 24 Nov 2025 10:15:45 -0500 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Sun, 23 Nov 2025 10:43:26 -0800
> SeongJae Park <sj@xxxxxxxxxx> wrote:
>
> > --- a/mm/damon/core.c
> > +++ b/mm/damon/core.c
[...]
> I wonder if the above would look better (and still produce good assembly)
> if it was:
[...]
> I have no real preference. I just think keeping the "if ()" statement out
> of the main code as a more aesthetic look. But the above should be
> equivalent in actual functionality.
Thank you for this suggestion, Steve! I'll update this patch as you suggested
in the next version.
Thanks,
SJ
[...]