diff options
author | Zhao Hongjiang <zhaohongjiang@huawei.com> | 2013-07-26 23:56:53 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-29 14:13:56 -0400 |
commit | 0b9e6965add0701e5cbf56d5bab6d9181e948359 (patch) | |
tree | 3214484711d56aed0043279cffdd6626b71d3dc4 | |
parent | 9ad9d25a1ec82d6e52d687348e8cdd4942e7d393 (diff) |
cpuset: relocate a misplaced comment
Comment for cpuset_css_offline() was on top of cpuset_css_free().
Move it.
Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Acked-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | kernel/cpuset.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 2ddd9b93feaa..703bfd5a32a9 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -2020,6 +2020,12 @@ out_unlock: | |||
2020 | return 0; | 2020 | return 0; |
2021 | } | 2021 | } |
2022 | 2022 | ||
2023 | /* | ||
2024 | * If the cpuset being removed has its flag 'sched_load_balance' | ||
2025 | * enabled, then simulate turning sched_load_balance off, which | ||
2026 | * will call rebuild_sched_domains_locked(). | ||
2027 | */ | ||
2028 | |||
2023 | static void cpuset_css_offline(struct cgroup *cgrp) | 2029 | static void cpuset_css_offline(struct cgroup *cgrp) |
2024 | { | 2030 | { |
2025 | struct cpuset *cs = cgroup_cs(cgrp); | 2031 | struct cpuset *cs = cgroup_cs(cgrp); |
@@ -2035,12 +2041,6 @@ static void cpuset_css_offline(struct cgroup *cgrp) | |||
2035 | mutex_unlock(&cpuset_mutex); | 2041 | mutex_unlock(&cpuset_mutex); |
2036 | } | 2042 | } |
2037 | 2043 | ||
2038 | /* | ||
2039 | * If the cpuset being removed has its flag 'sched_load_balance' | ||
2040 | * enabled, then simulate turning sched_load_balance off, which | ||
2041 | * will call rebuild_sched_domains_locked(). | ||
2042 | */ | ||
2043 | |||
2044 | static void cpuset_css_free(struct cgroup *cgrp) | 2044 | static void cpuset_css_free(struct cgroup *cgrp) |
2045 | { | 2045 | { |
2046 | struct cpuset *cs = cgroup_cs(cgrp); | 2046 | struct cpuset *cs = cgroup_cs(cgrp); |