Re: [PATCH 10/13] cpuset: make CPU / memory hotplug propagation asynchronous
From: Tejun Heo <hidden>
Date: 2013-01-07 16:42:14
Also in:
linux-mm, lkml
From: Tejun Heo <hidden>
Date: 2013-01-07 16:42:14
Also in:
linux-mm, lkml
On Sun, Jan 06, 2013 at 04:29:09PM +0800, Li Zefan wrote:
quoted
+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_cpuset_work. If already pending, lose the csscs->hotplug_work
Thanks. Patch updated. -- tejun