Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129816
b: refs/heads/master
c: 6272d68
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Ingo Molnar committed Jan 15, 2009
1 parent 46d2993 commit b796536
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: e17036dac189dd034c092a91df56aa740db7146d
refs/heads/master: 6272d68cc6a5f90c6b1a2228cf0f67b895305d17
5 changes: 4 additions & 1 deletion trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,10 @@ static u64 sched_slice(struct cfs_rq *cfs_rq, struct sched_entity *se)
u64 slice = __sched_period(cfs_rq->nr_running + !se->on_rq);

for_each_sched_entity(se) {
struct load_weight *load = &cfs_rq->load;
struct load_weight *load;

cfs_rq = cfs_rq_of(se);
load = &cfs_rq->load;

if (unlikely(!se->on_rq)) {
struct load_weight lw = cfs_rq->load;
Expand Down

0 comments on commit b796536

Please sign in to comment.