Re: [PATCH 4/4] mm/mempolicy: Fix memory leaks in mempolicy_sysfs_init()
From: Rakie Kim
Date: Mon Mar 10 2025 - 04:23:55 EST
On Fri, 7 Mar 2025 10:23:57 -0500 Gregory Price <gourry@xxxxxxxxxx> wrote:
Hi Gregory
On Fri, Mar 07, 2025 at 03:35:33PM +0900, Rakie Kim wrote:
> > Improper cleanup of sysfs attributes caused kobject and memory leaks when
> > initialization failed or nodes were removed.
> >
>
> Is this fixing something in your patch set or fixing something in the
> current upstream code? If in the current patch set, roll this into the
> patch that causes it.
>
> If this is fixing something upstream, I recommend submitting this
> separately to stable and rebasing on top of it.
Thank you for your response regarding this patch.
This patch isn't a modification of my hotplug-related patch but rather
a fix addressing issues in the existing implementation of the commit
listed below.
I will proceed to update it as a separate patch based on the mentioned
commit.
mm/mempolicy: implement the sysfs-based weighted_interleave interface
(dce41f5ae2539d1c20ae8de4e039630aec3c3f3c)
Rakie
>
>
> ~Gregory