Skip to contentSkip to conversation

cpuset: correct the disoder comment of two functions

PATCH Applied Zhao Hongjiang 3 participants 3 messages Jul 27, 2013 – Jul 29, 2013 cgroup

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 cpuset: correct the disoder comment of two functions

correct the disoder comment between cpuset_css_offline() and cpuset_css_free() functions.

---
 kernel/cpuset.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
kernel/cpuset.c +6 -6
index 2ddd9b9..703bfd5 100644
@@ -2020,6 +2020,12 @@ out_unlock:
 	return 0;
 }
 
+/*
+ * If the cpuset being removed has its flag 'sched_load_balance'
+ * enabled, then simulate turning sched_load_balance off, which
+ * will call rebuild_sched_domains_locked().
+ */
+
 static void cpuset_css_offline(struct cgroup *cgrp)
 {
 	struct cpuset *cs = cgroup_cs(cgrp);
@@ -2035,12 +2041,6 @@ static void cpuset_css_offline(struct cgroup *cgrp)
 	mutex_unlock(&cpuset_mutex);
 }
 
-/*
- * If the cpuset being removed has its flag 'sched_load_balance'
- * enabled, then simulate turning sched_load_balance off, which
- * will call rebuild_sched_domains_locked().
- */
-
 static void cpuset_css_free(struct cgroup *cgrp)
 {
 	struct cpuset *cs = cgroup_cs(cgrp);
Signature · 1 line
1.8.2.2