Re: [PATCH] mm/damon/core: document damos_commit_dests() failure semantics

From: Josh Law

Date: Thu Mar 19 2026 - 11:33:08 EST




On 19 March 2026 15:24:33 GMT, SeongJae Park <sj@xxxxxxxxxx> wrote:
>On Thu, 19 Mar 2026 07:31:14 -0700 SeongJae Park <sj@xxxxxxxxxx> wrote:
>
>> Hello Josh,
>>
>> On Thu, 19 Mar 2026 07:13:32 +0000 Josh Law <objecting@xxxxxxxxxxxxx> wrote:
>[...]
>> And Sashiko comment [2]. TL; DR: Good finding. We aware the issue and working
>> on the fix. Nonetheless, that's out of the scope of this patch.
>>
>> : Does leaving dst in a torn-down state cause a NULL pointer dereference in
>> : the background kdamond thread?
>[...]
>> Nice catch. We actually figured out [3] this issue from the discussion on
>> Josh's previous patch that motivated this one. And I'm working on it.
>
>I just posted the patch:
>https://lore.kernel.org/20260319145218.86197-1-sj@xxxxxxxxxx
>
>
>Thanks,
>SJ
>
>[...]


Hello, this morning i found some big bugs in sysfs.c, ill post the patche(s) soon