Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119431
b: refs/heads/master
c: af6d596
h: refs/heads/master
i:
  119429: 5d8e724
  119427: 0081b83
  119423: 66b6d25
v: v3
  • Loading branch information
Ingo Molnar committed Nov 29, 2008
1 parent 1966932 commit bee6801
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1583715ddb61f822041807a0f18b3b4845e88c76
refs/heads/master: af6d596fd603219b054c1c90fb16672a9fd441bd
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ static int task_hot(struct task_struct *p, u64 now, struct sched_domain *sd);
static unsigned long cpu_avg_load_per_task(int cpu)
{
struct rq *rq = cpu_rq(cpu);
unsigned long nr_running = rq->nr_running;
unsigned long nr_running = ACCESS_ONCE(rq->nr_running);

if (nr_running)
rq->avg_load_per_task = rq->load.weight / nr_running;
Expand Down

0 comments on commit bee6801

Please sign in to comment.