Re: [PATCH] mm/damon/vaddr: remove redundant RCU lock
From: SJ Park
Date: Tue Jun 30 2026 - 09:55:47 EST
On Tue, 30 Jun 2026 16:07:43 +0300 Igor Putko <igorpetindev@xxxxxxxxx> wrote:
> Hi SJ,
>
> On Mon, 29 Jun 2026, SJ Park wrote:
> > We prefer using a real name. I show you used 'Igor Putko' as your name before.
> > Any reason to change the name?
>
> Apologies for the confusion. I recently reinstalled my OS and misconfigured
> my git setup. I will revert back to 'Igor Putko' for the v2 submission.
No worries! I'm glad that I helped you finding a misconfiguration!
>
> > As Sashiko also commented, this may cause lockdep warning. Actually this was
> > added to fix it. Refer to the previous discussions [1] for more details.
> >
> > How about moving rcu_read_[un]lock() to the caller test code?
>
> That makes total sense. I will move the rcu_read_lock() and rcu_read_unlock()
> calls directly into the KUnit test code in mm/damon/tests/vaddr-kunit.h to
> prevent the lockdep splat.
>
> Regarding the pre-existing high-severity issue reported by Sashiko AI about
> missing check_stable_address_space(), I believe it is out of scope for this
> particular cleanup and should be addressed in a separate, dedicated patch.
I was thinking it is not a real issue. Do you think it is a real?
>
> I have just sent the v2 patch out.
>From next time, please give enough time before sending a new revision (say, ~12
hours at least?), to ensure the discussion on the previous revision is
concluded.
Thanks,
SJ
[...]