Skip to content

Commit

Permalink
sched: do not set softirqs to nice +19
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Ingo Molnar committed Jul 9, 2007
1 parent ff80a77 commit 23bdd70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 23bdd70

Please sign in to comment.