Re: [PATCH v2] cgroup: use a per-cgroup work for release agent

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 04:06:19PM +0800, Zefan Li wrote: > Instead of using a global work to schedule release agent on removable > cgroups, we change to use a per-cgroup work to do this, which makes > the code much simpler. > > v2: use a dedicated work instead of reusing css->destroy_work.

[PATCH v2] cgroup: use a per-cgroup work for release agent

2014-09-18 Thread Zefan Li
Instead of using a global work to schedule release agent on removable cgroups, we change to use a per-cgroup work to do this, which makes the code much simpler. v2: use a dedicated work instead of reusing css->destroy_work. (Tejun) Signed-off-by: Zefan Li --- include/linux/cgroup.h | 10 ++---

[PATCH v2] cgroup: use a per-cgroup work for release agent

2014-09-18 Thread Zefan Li
Instead of using a global work to schedule release agent on removable cgroups, we change to use a per-cgroup work to do this, which makes the code much simpler. v2: use a dedicated work instead of reusing css-destroy_work. (Tejun) Signed-off-by: Zefan Li lize...@huawei.com ---

Re: [PATCH v2] cgroup: use a per-cgroup work for release agent

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 04:06:19PM +0800, Zefan Li wrote: Instead of using a global work to schedule release agent on removable cgroups, we change to use a per-cgroup work to do this, which makes the code much simpler. v2: use a dedicated work instead of reusing css-destroy_work. (Tejun)