Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76186
b: refs/heads/master
c: 1020387
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jan 25, 2008
1 parent d7aa363 commit 2c92024
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: 37bb6cb4097e29ffee970065b74499cbf10603a3
refs/heads/master: 1020387f5f3b52929b387103cf976321981f8e26
5 changes: 4 additions & 1 deletion trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ static void sched_rt_ratio_enqueue(struct rt_rq *rt_rq)
struct sched_rt_entity *rt_se = rt_rq->rt_se;

if (rt_se && !on_rt_rq(rt_se) && rt_rq->rt_nr_running) {
struct task_struct *curr = rq_of_rt_rq(rt_rq)->curr;

enqueue_rt_entity(rt_se);
resched_task(rq_of_rt_rq(rt_rq)->curr);
if (rt_rq->highest_prio < curr->prio)
resched_task(curr);
}
}

Expand Down

0 comments on commit 2c92024

Please sign in to comment.