Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243652
b: refs/heads/master
c: 3436ae1
h: refs/heads/master
v: v3
  • Loading branch information
Sisir Koppaka authored and Ingo Molnar committed Mar 31, 2011
1 parent 734f815 commit 77db19f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e2495b577324938f0209b4f895c5f205c7e47854
refs/heads/master: 3436ae1298cb22d722a6520fc97f112dd767a9e1
5 changes: 3 additions & 2 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <linux/latencytop.h>
#include <linux/sched.h>
#include <linux/cpumask.h>

/*
* Targeted preemption latency for CPU-bound tasks:
Expand Down Expand Up @@ -3850,8 +3851,8 @@ static void rebalance_domains(int cpu, enum cpu_idle_type idle)
interval = msecs_to_jiffies(interval);
if (unlikely(!interval))
interval = 1;
if (interval > HZ*NR_CPUS/10)
interval = HZ*NR_CPUS/10;
if (interval > HZ*num_online_cpus()/10)
interval = HZ*num_online_cpus()/10;

need_serialize = sd->flags & SD_SERIALIZE;

Expand Down

0 comments on commit 77db19f

Please sign in to comment.