diff options
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 65ae0bdf4af8..bf20e4ac2f75 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -1398,7 +1398,7 @@ static int cpuset_can_attach(struct cgroup_subsys_state *css, | |||
1398 | (cpumask_empty(cs->cpus_allowed) || nodes_empty(cs->mems_allowed))) | 1398 | (cpumask_empty(cs->cpus_allowed) || nodes_empty(cs->mems_allowed))) |
1399 | goto out_unlock; | 1399 | goto out_unlock; |
1400 | 1400 | ||
1401 | cgroup_taskset_for_each(task, css, tset) { | 1401 | cgroup_taskset_for_each(task, tset) { |
1402 | /* | 1402 | /* |
1403 | * Kthreads which disallow setaffinity shouldn't be moved | 1403 | * Kthreads which disallow setaffinity shouldn't be moved |
1404 | * to a new cpuset; we don't want to change their cpu | 1404 | * to a new cpuset; we don't want to change their cpu |
@@ -1467,7 +1467,7 @@ static void cpuset_attach(struct cgroup_subsys_state *css, | |||
1467 | 1467 | ||
1468 | guarantee_online_mems(mems_cs, &cpuset_attach_nodemask_to); | 1468 | guarantee_online_mems(mems_cs, &cpuset_attach_nodemask_to); |
1469 | 1469 | ||
1470 | cgroup_taskset_for_each(task, css, tset) { | 1470 | cgroup_taskset_for_each(task, tset) { |
1471 | /* | 1471 | /* |
1472 | * can_attach beforehand should guarantee that this doesn't | 1472 | * can_attach beforehand should guarantee that this doesn't |
1473 | * fail. TODO: have a better way to handle failure here | 1473 | * fail. TODO: have a better way to handle failure here |