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.22-ck1/mm/vmscan.c =================================================================== --- linux-2.6.22-ck1.orig/mm/vmscan.c 2007-07-09 18:44:40.000000000 +1000 +++ linux-2.6.22-ck1/mm/vmscan.c 2007-07-09 18:44:42.000000000 +1000 @@ -975,6 +975,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;