From: Con Kolivas Signed-off-by: Andrew Morton --- kernel/sched.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/sched.c~sched-alter_uninterruptible_sleep_interactivity-fix kernel/sched.c --- devel/kernel/sched.c~sched-alter_uninterruptible_sleep_interactivity-fix 2006-01-15 21:58:32.000000000 -0800 +++ devel-akpm/kernel/sched.c 2006-01-15 21:58:32.000000000 -0800 @@ -777,7 +777,7 @@ static int recalc_task_prio(task_t *p, u * If a task was sleeping with the noninteractive * label do not apply this non-linear boost */ - if (p->sleep_type != SLEEP_NONINTERACTIVE || p->mm) + if (p->sleep_type != SLEEP_NONINTERACTIVE || !p->mm) sleep_time *= (MAX_BONUS - CURRENT_BONUS(p)) ? : 1; _