RE: WARNING: CPU: 3 PID: 0 at kernel/cgroup/cgroup.c:441 cgroup_get+0x4b/0x50

From: Justin Piszcz
Date: Fri Jun 30 2017 - 07:31:13 EST




> -----Original Message-----
> From: Cong Wang [mailto:xiyou.wangcong@xxxxxxxxx]
> Sent: Thursday, June 29, 2017 9:44 PM
> To: Justin Piszcz
> Cc: LKML
> Subject: Re: WARNING: CPU: 3 PID: 0 at kernel/cgroup/cgroup.c:441
> cgroup_get+0x4b/0x50
>
> On Thu, Jun 29, 2017 at 12:26 AM, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx

[ snip ]

> >
> > [22606.516656] ------------[ cut here ]------------
> > [22606.516669] WARNING: CPU: 3 PID: 0 at kernel/cgroup/cgroup.c:441
> > cgroup_get+0x4b/0x50
> > [22606.516672] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.11.0 #1
> > [22606.516674] Hardware name: Supermicro X9SRL-F/X9SRL-F, BIOS 3.2
> > 01/16/2015
> > [22606.516676] Call Trace:
> > [22606.516678] <IRQ>
> > [22606.516681] dump_stack+0x4d/0x66
> > [22606.516684] __warn+0xbc/0xe0
> > [22606.516686] warn_slowpath_null+0x18/0x20
> > [22606.516687] cgroup_get+0x4b/0x50
> > [22606.516689] cgroup_sk_alloc+0x56/0x60
>
> This should be fixed by:
>
> commit a590b90d472f2c176c140576ee3ab44df7f67839
> Author: Tejun Heo <tj@xxxxxxxxxx>
> Date: Fri Apr 28 15:14:55 2017 -0400
>
> cgroup: fix spurious warnings on cgroup_is_dead() from cgroup_sk_alloc()
>

Thank you, patch applied and in production!

Justin.