Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76148
b: refs/heads/master
c: 00597c3
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 25, 2008
1 parent 379118b commit d8236f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 6e1938d3ad58c940ec4119d387dd92a787cb238c
refs/heads/master: 00597c3ed78e424bdafff123565c078d8b6088cf
8 changes: 0 additions & 8 deletions trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ static struct task_struct *pick_next_highest_task_rt(struct rq *rq, int cpu)
struct list_head *queue;
int idx;

assert_spin_locked(&rq->lock);

if (likely(rq->rt.rt_nr_running < 2))
return NULL;

Expand Down Expand Up @@ -500,8 +498,6 @@ static int push_rt_task(struct rq *rq)
int ret = 0;
int paranoid = RT_MAX_TRIES;

assert_spin_locked(&rq->lock);

if (!rq->rt.overloaded)
return 0;

Expand Down Expand Up @@ -546,8 +542,6 @@ static int push_rt_task(struct rq *rq)
goto out;
}

assert_spin_locked(&lowest_rq->lock);

deactivate_task(rq, next_task, 0);
set_task_cpu(next_task, lowest_rq->cpu);
activate_task(lowest_rq, next_task, 0);
Expand Down Expand Up @@ -589,8 +583,6 @@ static int pull_rt_task(struct rq *this_rq)
int cpu;
int ret = 0;

assert_spin_locked(&this_rq->lock);

/*
* If cpusets are used, and we have overlapping
* run queue cpusets, then this algorithm may not catch all.
Expand Down

0 comments on commit d8236f9

Please sign in to comment.