From: Ingo Molnar Date: Mon, 9 Jul 2007 16:52:00 +0000 (+0200) Subject: sched: do not set softirqs to nice +19 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=23bdd703a585a869f2eb32fb9f66749d0476d71e;p=openwrt%2Fstaging%2Fblogic.git sched: do not set softirqs to nice +19 do not set softirqs to nice +19. _If_ for whatever reason we missed to process some high-prio softirq and woke up ksoftirqd, we should give it a fair chance to actually get some work done, even if the system is under load. Signed-off-by: Ingo Molnar --- diff --git a/kernel/softirq.c b/kernel/softirq.c index 0b9886a00e74..73217a9e2875 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -488,7 +488,6 @@ void __init softirq_init(void) static int ksoftirqd(void * __bind_cpu) { - set_user_nice(current, 19); current->flags |= PF_NOFREEZE; set_current_state(TASK_INTERRUPTIBLE);