Set the effective priority of idleprio tasks to that of nice 19 tasks when modifying vm reclaim behaviour. Signed-off-by: Con Kolivas mm/vmscan.c | 2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6.20-ck1/mm/vmscan.c =================================================================== --- linux-2.6.20-ck1.orig/mm/vmscan.c 2007-02-16 19:01:34.000000000 +1100 +++ linux-2.6.20-ck1/mm/vmscan.c 2007-02-16 19:01:34.000000000 +1100 @@ -977,6 +977,8 @@ static int effective_sc_prio(struct task if (likely(p->mm)) { if (rt_task(p)) return -20; + if (idleprio_task(p)) + return 19; return task_nice(p); } return 0;