Re: [PATCH RFC] softirq: fix ksoftirq starved

From: Ingo Molnar
Date: Wed Jun 17 2009 - 10:54:20 EST



* Lai Jiangshan <laijs@xxxxxxxxxxxxxx> wrote:

> --- a/kernel/sched.c
> +++ b/kernel/sched.c
> @@ -5307,6 +5307,7 @@ need_resched:
> release_kernel_lock(prev);
> need_resched_nonpreemptible:
>
> + schedule_softirq_check();
> schedule_debug(prev);

hm, this slows down the scheduler fast-path ...

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/