Re: [PATCH 4/4] cgroup: reuse css->destroy_work for release agent

2014-09-17 Thread Tejun Heo
On Wed, Sep 17, 2014 at 06:20:29PM +0800, Li Zefan wrote: > Currently we use a global work to schedule release agent on removable > cgroups. We can change to reuse css->destroy_work to do this, which > saves a few lines of code. > > Signed-off-by: Zefan Li ... > @@ -1587,6 +1581,7 @@ static void

[PATCH 4/4] cgroup: reuse css->destroy_work for release agent

2014-09-17 Thread Li Zefan
Currently we use a global work to schedule release agent on removable cgroups. We can change to reuse css->destroy_work to do this, which saves a few lines of code. Signed-off-by: Zefan Li --- include/linux/cgroup.h | 7 kernel/cgroup.c| 108

[PATCH 4/4] cgroup: reuse css-destroy_work for release agent

2014-09-17 Thread Li Zefan
Currently we use a global work to schedule release agent on removable cgroups. We can change to reuse css-destroy_work to do this, which saves a few lines of code. Signed-off-by: Zefan Li lize...@huawei.com --- include/linux/cgroup.h | 7 kernel/cgroup.c| 108

Re: [PATCH 4/4] cgroup: reuse css-destroy_work for release agent

2014-09-17 Thread Tejun Heo
On Wed, Sep 17, 2014 at 06:20:29PM +0800, Li Zefan wrote: Currently we use a global work to schedule release agent on removable cgroups. We can change to reuse css-destroy_work to do this, which saves a few lines of code. Signed-off-by: Zefan Li lize...@huawei.com ... @@ -1587,6 +1581,7 @@