Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105915
b: refs/heads/master
c: 489a539
h: refs/heads/master
i:
  105913: ad8458c
  105911: 84594ab
v: v3
  • Loading branch information
Lai Jiangshan authored and Linus Torvalds committed Jul 25, 2008
1 parent 7413b26 commit 4f603ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c372e817afc629fea9ff6321313325ed0b4a855b
refs/heads/master: 489a5393a20dcbf91104052120eb2eff8791b61b
5 changes: 5 additions & 0 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 4f603ad

Please sign in to comment.