* [PATCH][ 1/5] sched: dont renice kernel threads
@ 2007-03-27 2:08 Con Kolivas
0 siblings, 0 replies; only message in thread
From: Con Kolivas @ 2007-03-27 2:08 UTC (permalink / raw)
To: linux kernel mailing list, ck list, Andrew Morton, Ingo Molnar
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 <kernel@kolivas.org>
---
kernel/workqueue.c | 2 --
1 file changed, 2 deletions(-)
Index: linux-2.6.21-rc5-sd/kernel/workqueue.c
===================================================================
--- linux-2.6.21-rc5-sd.orig/kernel/workqueue.c 2007-03-26 11:03:31.000000000 +1000
+++ linux-2.6.21-rc5-sd/kernel/workqueue.c 2007-03-27 11:52:54.000000000 +1000
@@ -355,8 +355,6 @@ static int worker_thread(void *__cwq)
if (!cwq->freezeable)
current->flags |= PF_NOFREEZE;
- set_user_nice(current, -5);
-
/* Block and flush all signals */
sigfillset(&blocked);
sigprocmask(SIG_BLOCK, &blocked, NULL);
--
-ck
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-27 2:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 2:08 [PATCH][ 1/5] sched: dont renice kernel threads Con Kolivas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox