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.21-ck2/mm/vmscan.c =================================================================== --- linux-2.6.21-ck2.orig/mm/vmscan.c 2007-05-14 19:49:56.000000000 +1000 +++ linux-2.6.21-ck2/mm/vmscan.c 2007-05-14 19:49:56.000000000 +1000 @@ -980,6 +980,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;