[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200703271208.47198.kernel@kolivas.org>
Date: Tue, 27 Mar 2007 13:08:47 +1100
From: Con Kolivas <kernel@...ivas.org>
To: linux kernel mailing list <linux-kernel@...r.kernel.org>,
ck list <ck@....kolivas.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: [PATCH][ 1/5] sched: dont renice kernel threads
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@...ivas.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists