Re: [PATCH 4/4] mm/mempolicy: Fix memory leaks in mempolicy_sysfs_init()

From: Gregory Price
Date: Fri Mar 07 2025 - 10:24:08 EST


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.

~Gregory