Re: [BUG REPORT] mm/damon: softlockup when kdamond walk page with cpu hotplug
From: SeongJae Park
Date: Mon Sep 29 2025 - 20:49:09 EST
On Thu, 25 Sep 2025 19:11:13 +0800 Xinyu Zheng <zhengxinyu6@xxxxxxxxxx> wrote:
>
>
> On 9/20/2025 6:42 PM, SeongJae Park wrote:
> > On Fri, 19 Sep 2025 20:56:56 -0700 (PDT) Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> >
> >> On Thu, 18 Sep 2025, SeongJae Park wrote:
> >>
> >>> Hello,
> >>>
> >>> On Thu, 18 Sep 2025 03:00:29 +0000 Xinyu Zheng <zhengxinyu6@xxxxxxxxxx> wrote:
> >>>
> >>>> A softlockup issue was found with stress test:
[...]
> > Xinyu, could you please test if the below attached patch fixes your issue and
> > let us know the result?
> >
> > If Xinyu confirms the validity of the fix and no one objects to the above plan,
> > I will post the fix as a formal one with a better commit message.
> >
>
> Hi, SJ. The below attached patch is works!
>
> These days, I reproduced the same softlockup scenario for three times.
> It can be reproduced around an hour when I increase the memory pressure.
> Then I patched the below fix, and ran the same testcase whole day,
> softlock didn't trigger again.
>
> Sorry for the long wait. Thanks again for your solution and explanation!
Sorry for late response, and thank you for confirming that the fix works. I
just posted it as a formal patch:
https://lore.kernel.org/20250930004410.55228-1-sj@xxxxxxxxxx
Thanks,
SJ
[...]