diff --git a/[refs] b/[refs] index 99cb04db96f0..b885bb27ce40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c372e817afc629fea9ff6321313325ed0b4a855b +refs/heads/master: 489a5393a20dcbf91104052120eb2eff8791b61b diff --git a/trunk/kernel/cpuset.c b/trunk/kernel/cpuset.c index 60d2c4702c6c..531b235e546f 100644 --- a/trunk/kernel/cpuset.c +++ b/trunk/kernel/cpuset.c @@ -610,8 +610,13 @@ void rebuild_sched_domains(void) while (__kfifo_get(q, (void *)&cp, sizeof(cp))) { struct cgroup *cont; struct cpuset *child; /* scans child cpusets of cp */ + + if (cpus_empty(cp->cpus_allowed)) + continue; + if (is_sched_load_balance(cp)) csa[csn++] = cp; + list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { child = cgroup_cs(cont); __kfifo_put(q, (void *)&child, sizeof(cp));