Re: Seems like a race or unhandled situation with ksoftirqd scheduling/management

From: Andi Kleen (ak@suse.de)
Date: Tue May 21 2002 - 13:22:24 EST


C Hanish Menon <hanishkvc@yahoo.com> writes:

> According to the comment in cpu_raise_softirq it doesn't
> wakeup_softirqd in irq context because on returning from a irq
> softirqd will be run, but it doesn't seem to be valid in any
> architectures (have varified x86, mips). Because on returning
> from irq context, just the scheduler gets called, but as
> the ksoftirqd is not in the run queue, it won't get scheduled.

At least i386 runs the softirqs at the end of do_IRQ.

ksoftirqd is just supposed to be a fallback mechanism for the case
of soft irqs eating excessive runtime or one softirq triggering another
(common case is networking and serial softirq for BH). It is not
the primary way to run softirqs.

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



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:22 EST