Re: [PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-14 Thread Tejun Heo
On Fri, May 09, 2014 at 05:13:26PM -0400, Tejun Heo wrote: > Hello, > > Currently, cgroup and css (cgroup_subsys_state) are separately > reference counted. cgroup->refcnt is an atomic_t and css->refcnt is a > percpu_ref. css is becoming the primary structural block and used > widely in various o

Re: [PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > Hello, > > Currently, cgroup and css (cgroup_subsys_state) are separately > reference counted. cgroup->refcnt is an atomic_t and css->refcnt is a > percpu_ref. css is becoming the primary structural block and used > widely in various operaitons. cgroup alre

Re: [PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-13 Thread Tejun Heo
On Fri, May 09, 2014 at 05:13:26PM -0400, Tejun Heo wrote: > and available in the following git branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > review-use-css-ref Rebased on top of cgroup/for-3.16. Thanks. -- tejun -- To unsubscribe from this list: send the line "un

[PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-09 Thread Tejun Heo
Hello, Currently, cgroup and css (cgroup_subsys_state) are separately reference counted. cgroup->refcnt is an atomic_t and css->refcnt is a percpu_ref. css is becoming the primary structural block and used widely in various operaitons. cgroup already has a css embedded in it (cgroup->dummy_css)