On Sun, Jan 06, 2013 at 04:29:09PM +0800, Li Zefan wrote:
> > +static void schedule_cpuset_propagate_hotplug(struct cpuset *cs)
> > +{
> > + /*
> > +* Pin @cs. The refcnt will be released when the work item
> > +* finishes executing.
> > +*/
> > + if (!css_tryget(&cs->css))
> > +
> +static void schedule_cpuset_propagate_hotplug(struct cpuset *cs)
> +{
> + /*
> + * Pin @cs. The refcnt will be released when the work item
> + * finishes executing.
> + */
> + if (!css_tryget(&cs->css))
> + return;
> +
> + /*
> + * Queue @cs->empty_cp
cpuset_hotplug_workfn() has been invoking cpuset_propagate_hotplug()
directly to propagate hotplug updates to !root cpusets; however, this
has the following problems.
* cpuset locking is scheduled to be decoupled from cgroup_mutex,
cgroup_mutex will be unexported, and cgroup_attach_task() will d
cpuset_hotplug_workfn() has been invoking cpuset_propagate_hotplug()
directly to propagate hotplug updates to !root cpusets; however, this
has the following problems.
* cpuset locking is scheduled to be decoupled from cgroup_mutex,
cgroup_mutex will be unexported, and cgroup_attach_task() will d
4 matches
Mail list logo