Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b9e6965 authored by Zhao Hongjiang's avatar Zhao Hongjiang Committed by Tejun Heo
Browse files

cpuset: relocate a misplaced comment



Comment for cpuset_css_offline() was on top of cpuset_css_free().
Move it.

Signed-off-by: default avatarZhao Hongjiang <zhaohongjiang@huawei.com>
Acked-by: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9ad9d25a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -2020,6 +2020,12 @@ static int cpuset_css_online(struct cgroup *cgrp)
	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);