Annotation of /trunk/kernel26-magellan/patches-2.6.16-r12/0031-2.6.16-sched-fix_idleprio.patch
Parent Directory | Revision Log
Revision 72 -
(hide annotations)
(download)
Mon Jun 5 09:25:38 2006 UTC (18 years ago) by niro
File size: 667 byte(s)
Mon Jun 5 09:25:38 2006 UTC (18 years ago) by niro
File size: 667 byte(s)
ver bump to 2.6.16-r12: - updated to linux-2.6.16.19 - updated to ck11
1 | niro | 72 | --- |
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); |