[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200704200103.51443.kernel@kolivas.org>
Date: Fri, 20 Apr 2007 01:03:51 +1000
From: Con Kolivas <kernel@...ivas.org>
To: linux kernel mailing list <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
ck list <ck@....kolivas.org>
Subject: [PATCH] [3/3] sched: increase ksoftirqd priority
More aggressive nice discrimination by the Staircase-Deadline cpu scheduler
means ksoftirqd is getting significantly less cpu than previously. Adjust
nice value accordingly for similar cpu distribution.
Signed-off-by: Con Kolivas <kernel@...ivas.org>
---
kernel/softirq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.21-rc7-sd/kernel/softirq.c
===================================================================
--- linux-2.6.21-rc7-sd.orig/kernel/softirq.c 2007-04-20 00:30:08.000000000 +1000
+++ linux-2.6.21-rc7-sd/kernel/softirq.c 2007-04-20 00:30:31.000000000 +1000
@@ -488,7 +488,7 @@ void __init softirq_init(void)
static int ksoftirqd(void * __bind_cpu)
{
- set_user_nice(current, 19);
+ set_user_nice(current, 15);
current->flags |= PF_NOFREEZE;
set_current_state(TASK_INTERRUPTIBLE);
--
-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