Thread (24 messages) 24 messages, 5 authors, 2013-01-11

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

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 css
cs->hotplug_work
Thanks.  Patch updated.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help