Re: [PATCH v2 2/2] cgroup: check cgroup liveliness before unbreaking kernfs

2014-09-04 Thread Tejun Heo
On Thu, Sep 04, 2014 at 02:43:38PM +0800, Li Zefan wrote: > When cgroup_kn_lock_live() is called through some kernfs operation and > another thread is calling cgroup_rmdir(), we'll trigger the warning in > cgroup_get(). > > [ cut here ] > WARNING: CPU: 1 PID: 1228 at kernel

[PATCH v2 2/2] cgroup: check cgroup liveliness before unbreaking kernfs

2014-09-03 Thread Li Zefan
When cgroup_kn_lock_live() is called through some kernfs operation and another thread is calling cgroup_rmdir(), we'll trigger the warning in cgroup_get(). [ cut here ] WARNING: CPU: 1 PID: 1228 at kernel/cgroup.c:1034 cgroup_get+0x89/0xa0() ... Call Trace: [] dump_stack+0