All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [3/3] sched: increase ksoftirqd priority
@ 2007-04-19 15:03 Con Kolivas
  0 siblings, 0 replies; only message in thread
From: Con Kolivas @ 2007-04-19 15:03 UTC (permalink / raw)
  To: linux kernel mailing list, Andrew Morton, ck list

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@kolivas.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-19 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19 15:03 [PATCH] [3/3] sched: increase ksoftirqd priority Con Kolivas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.