Re: [RFC PATCH v1.2 00/11] mm/damon/sysfs: kobject_del() directories that users can create/remove
From: SeongJae Park
Date: Thu Jun 18 2026 - 20:31:24 EST
On Thu, 18 Jun 2026 08:15:04 -0700 SeongJae Park <sj@xxxxxxxxxx> wrote:
[...]
>
> This doesn't cause catastrophic issues like kernel panics or memory
> corruptions. Users can work around by removing all directories first
> (write 0 to the nr_* files) and then create new directories after
> confirming the old directories are gone. But, this is definitely a bug
> that causes a bad user experience.
>
> Fix the issues by calling kobject_del() before creating new directories.
Sashiko found no real issue from this patch, or pre-existing ones that better
to be fixed together with this series. I will drop RFC tag in the next
revision.
I consider this series as hotfixes, and therefore Cc-ed stable@. But, because
the impact is minor, I will post the next revision after I believe all MM pull
requests for this merge windoow are completed.
Thanks,
SJ