Contents of /trunk/kernel26-magellan/patches-2.6.16-r12/0025-2.6.16-mm-idleprio_prio.patch
Parent Directory | Revision Log
Revision 72 -
(show annotations)
(download)
Mon Jun 5 09:25:38 2006 UTC (18 years, 3 months ago) by niro
File size: 506 byte(s)
Mon Jun 5 09:25:38 2006 UTC (18 years, 3 months ago) by niro
File size: 506 byte(s)
ver bump to 2.6.16-r12: - updated to linux-2.6.16.19 - updated to ck11
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; |