Re: [PATCH stable-4.4 1/3] mm: memcontrol: fix cgroup creation failure after many small jobs

From: Michal Hocko
Date: Mon Aug 15 2016 - 11:34:05 EST


On Mon 15-08-16 17:22:36, Greg KH wrote:
> On Mon, Aug 15, 2016 at 05:06:44PM +0200, Michal Hocko wrote:
[...]
> > diff --git a/mm/slab_common.c b/mm/slab_common.c
> > index 3c6a86b4ec25..312ef6f7b7b1 100644
> > --- a/mm/slab_common.c
> > +++ b/mm/slab_common.c
> > @@ -522,7 +522,7 @@ void memcg_create_kmem_cache(struct mem_cgroup *memcg,
> >
> > cgroup_name(css->cgroup, memcg_name_buf, sizeof(memcg_name_buf));
> > cache_name = kasprintf(GFP_KERNEL, "%s(%d:%s)", root_cache->name,
> > - css->id, memcg_name_buf);
> > + css->serial_nr, memcg_name_buf);
>
> You didn't pick up my change for the string here that the kbuild system
> found. I'll edit it by hand...

Will repost with this fixed as well.
--
Michal Hocko
SUSE Labs