From: Con Kolivas The practice of renicing kernel threads to negative nice values is of questionable benefit at best, and at worst leads to larger latencies when kernel threads are busy on behalf of other tasks. Signed-off-by: Con Kolivas Cc: Ingo Molnar Cc: "Siddha, Suresh B" Cc: Nick Piggin Signed-off-by: Andrew Morton --- kernel/workqueue.c | 1 - 1 file changed, 1 deletion(-) diff -puN kernel/workqueue.c~sched-dont-renice-kernel-threads kernel/workqueue.c --- a/kernel/workqueue.c~sched-dont-renice-kernel-threads +++ a/kernel/workqueue.c @@ -294,7 +294,6 @@ static int worker_thread(void *__cwq) if (!cwq->wq->freezeable) current->flags |= PF_NOFREEZE; - set_user_nice(current, -5); /* * We inherited MPOL_INTERLEAVE from the booting kernel. * Set MPOL_DEFAULT to insure node local allocations. _