Re: [External] [PATCH 4.19 76/86] mm: memcg/slab: fix memory leak at non-root kmem_cache destroy

2020-07-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 11:17:03AM -0400, Sasha Levin wrote: > On Tue, Jul 28, 2020 at 08:56:41PM +0800, Muchun Song wrote: > > On Mon, Jul 27, 2020 at 10:12 PM Greg Kroah-Hartman > > wrote: > > > > > > From: Muchun Song > > > > > > commit d38a2b7a9c939e6d7329ab92b96559ccebf7b135 upstream. > >

Re: [External] [PATCH 4.19 76/86] mm: memcg/slab: fix memory leak at non-root kmem_cache destroy

2020-07-28 Thread Sasha Levin
On Tue, Jul 28, 2020 at 08:56:41PM +0800, Muchun Song wrote: On Mon, Jul 27, 2020 at 10:12 PM Greg Kroah-Hartman wrote: From: Muchun Song commit d38a2b7a9c939e6d7329ab92b96559ccebf7b135 upstream. If the kmem_cache refcount is greater than one, we should not mark the root kmem_cache as

Re: [External] [PATCH 4.19 76/86] mm: memcg/slab: fix memory leak at non-root kmem_cache destroy

2020-07-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 08:56:41PM +0800, Muchun Song wrote: > On Mon, Jul 27, 2020 at 10:12 PM Greg Kroah-Hartman > wrote: > > > > From: Muchun Song > > > > commit d38a2b7a9c939e6d7329ab92b96559ccebf7b135 upstream. > > > > If the kmem_cache refcount is greater than one, we should not mark the >

Re: [External] [PATCH 4.19 76/86] mm: memcg/slab: fix memory leak at non-root kmem_cache destroy

2020-07-28 Thread Muchun Song
On Mon, Jul 27, 2020 at 10:12 PM Greg Kroah-Hartman wrote: > > From: Muchun Song > > commit d38a2b7a9c939e6d7329ab92b96559ccebf7b135 upstream. > > If the kmem_cache refcount is greater than one, we should not mark the > root kmem_cache as dying. If we mark the root kmem_cache dying >