Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.16-r12/0031-2.6.16-sched-fix_idleprio.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72 - (show annotations) (download)
Mon Jun 5 09:25:38 2006 UTC (17 years, 10 months 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 ---
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);