Contents of /trunk/kernel26-magellan/patches-2.6.16-r10/0031-2.6.16-sched-fix_idleprio.patch
Parent Directory | Revision Log
Revision 70 -
(show annotations)
(download)
Thu May 11 19:09:22 2006 UTC (18 years, 4 months ago) by niro
File size: 667 byte(s)
Thu May 11 19:09:22 2006 UTC (18 years, 4 months ago) by niro
File size: 667 byte(s)
import
1 | --- |
2 | kernel/sched.c | 2 +- |
3 | 1 files changed, 1 insertion(+), 1 deletion(-) |
4 | |
5 | Index: linux-2.6.16-ck10/kernel/sched.c |
6 | =================================================================== |
7 | --- linux-2.6.16-ck10.orig/kernel/sched.c 2006-05-08 21:02:16.000000000 +1000 |
8 | +++ linux-2.6.16-ck10/kernel/sched.c 2006-05-08 21:02:17.000000000 +1000 |
9 | @@ -849,9 +849,9 @@ static void activate_task(task_t *p, run |
10 | p->time_slice = p->slice % rr ? : rr; |
11 | if (!rt_task(p)) { |
12 | recalc_task_prio(p, now); |
13 | + p->prio = effective_prio(p); |
14 | p->flags &= ~(PF_NONSLEEP | PF_FORKED); |
15 | p->systime = 0; |
16 | - p->prio = effective_prio(p); |
17 | } |
18 | p->timestamp = now; |
19 | __activate_task(p, rq); |