Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.16-r10/0025-2.6.16-mm-idleprio_prio.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations) (download)
Thu May 11 19:09:22 2006 UTC (18 years ago) by niro
File size: 506 byte(s)
import

1 mm/vmscan.c | 2 ++
2 1 files changed, 2 insertions(+)
3
4 Index: linux-2.6.16-ck1/mm/vmscan.c
5 ===================================================================
6 --- linux-2.6.16-ck1.orig/mm/vmscan.c 2006-03-20 20:46:59.000000000 +1100
7 +++ linux-2.6.16-ck1/mm/vmscan.c 2006-03-20 20:47:00.000000000 +1100
8 @@ -1396,6 +1396,8 @@ static int effective_sc_prio(struct task
9 if (likely(p->mm)) {
10 if (rt_task(p))
11 return -20;
12 + if (idleprio_task(p))
13 + return 19;
14 return task_nice(p);
15 }
16 return 0;