Messages in this thread Patch in this message | | | From | Con Kolivas <> | Subject | [ckpatch][24/29] mm-idleprio_prio.patch | Date | Sun, 18 Jun 2006 17:34:57 +1000 |
| |
Set the effective priority of idleprio tasks to that of nice 19 tasks when modifying vm reclaim behaviour.
Signed-off-by: Con Kolivas <kernel@kolivas.org>
mm/vmscan.c | 2 ++ 1 files changed, 2 insertions(+)
Index: linux-ck-dev/mm/vmscan.c =================================================================== --- linux-ck-dev.orig/mm/vmscan.c 2006-06-18 15:25:07.000000000 +1000 +++ linux-ck-dev/mm/vmscan.c 2006-06-18 15:25:09.000000000 +1000 @@ -911,6 +911,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; -- -ck - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |