Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76147
b: refs/heads/master
c: 6e1938d
h: refs/heads/master
i:
  76145: d81b54c
  76143: d555d49
v: v3
  • Loading branch information
Ingo Molnar committed Jan 25, 2008
1 parent 71fba5c commit 379118b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 84de4274893691aa8c471a1f7336d51e555d23a0
refs/heads/master: 6e1938d3ad58c940ec4119d387dd92a787cb238c
10 changes: 1 addition & 9 deletions trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ static inline int rt_overloaded(void)
return atomic_read(&rto_count);
}

static inline cpumask_t *rt_overload(void)
{
return &rt_overload_mask;
}

static inline void rt_set_overload(struct rq *rq)
{
rq->rt.overloaded = 1;
Expand Down Expand Up @@ -590,7 +585,6 @@ static int pull_rt_task(struct rq *this_rq)
struct task_struct *next;
struct task_struct *p;
struct rq *src_rq;
cpumask_t *rto_cpumask;
int this_cpu = this_rq->cpu;
int cpu;
int ret = 0;
Expand All @@ -608,9 +602,7 @@ static int pull_rt_task(struct rq *this_rq)

next = pick_next_task_rt(this_rq);

rto_cpumask = rt_overload();

for_each_cpu_mask(cpu, *rto_cpumask) {
for_each_cpu_mask(cpu, rt_overload_mask) {
if (this_cpu == cpu)
continue;

Expand Down

0 comments on commit 379118b

Please sign in to comment.