]> git.pld-linux.org Git - packages/kernel.git/blob - 2.6.1-rq-not-task_running-lkml.patch
- added description of djurban's branch
[packages/kernel.git] / 2.6.1-rq-not-task_running-lkml.patch
1 diff -Nua 2.6/kernel/sched.c.0 2.6/kernel/sched.c
2 --- 2.6/kernel/sched.c.0        2004-01-13 17:53:34.000000000 -0500
3 +++ 2.6/kernel/sched.c  2004-01-13 17:47:33.000000000 -0500
4 @@ -2062,7 +2062,7 @@
5                  * our priority decreased, or if we are not currently running on
6                  * this runqueue and our priority is higher than the current's
7                  */
8 -               if (rq->curr == p) {
9 +               if (task_running(rq, p)) {
10                         if (p->prio > oldprio)
11                                 resched_task(rq->curr);
12                 } else if (p->prio < rq->curr->prio)
This page took 0.024567 seconds and 3 git commands to generate.