Messages in this thread | | | Date | Thu, 22 Dec 2011 16:29:44 -0800 | From | Mandeep Singh Baines <> | Subject | Re: [PATCH 2/2] cgroup: remove extra calls to find_existing_css_set |
| |
Tejun Heo (tj@kernel.org) wrote: > On Thu, Dec 22, 2011 at 02:26:56PM -0800, Mandeep Singh Baines wrote: > > +out_list_teardown: > > + if (retval) { > > + for (i = 0; i < group_size; i++) { > > + tc = flex_array_get(group, i); > > + put_css_set(tc->cg); > > + } > > + } > > Don't we need to put them even after success? >
On success, we need to keep a reference for each thread in the threadgroup.
> -- > tejun
| |