Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72759
b: refs/heads/master
c: 7bae49d
h: refs/heads/master
i:
  72757: 5bb5b51
  72755: 6d11858
  72751: c8ef8fb
v: v3
  • Loading branch information
James Bottomley authored and Ingo Molnar committed Oct 29, 2007
1 parent e745527 commit 4e1db54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73a2bcb0edb9ffb0b007b3546b430e2c6e415eee
refs/heads/master: 7bae49d498de87f0da0c20c67adaa278eac84566
4 changes: 2 additions & 2 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -7041,15 +7041,15 @@ static void free_sched_group(struct rcu_head *rhp)
/* Destroy runqueue etc associated with a task group */
void sched_destroy_group(struct task_group *tg)
{
struct cfs_rq *cfs_rq;
struct cfs_rq *cfs_rq = NULL;
int i;

for_each_possible_cpu(i) {
cfs_rq = tg->cfs_rq[i];
list_del_rcu(&cfs_rq->leaf_cfs_rq_list);
}

cfs_rq = tg->cfs_rq[0];
BUG_ON(!cfs_rq);

/* wait for possible concurrent references to cfs_rqs complete */
call_rcu(&cfs_rq->rcu, free_sched_group);
Expand Down

0 comments on commit 4e1db54

Please sign in to comment.