question about softirqs
Andi Kleen
andi at firstfloor.org
Thu May 14 00:24:23 EST 2009
Thomas Gleixner <tglx at linutronix.de> writes:
> Err, no. Chris is completely correct:
>
> if (!in_interrupt())
> wakeup_softirqd();
Yes you have to wake it up just in case, but it doesn't normally
process the data because a normal softirq comes in faster. It's
just a safety policy.
You can check this by checking the accumulated CPU time on your
ksoftirqs. Mine are all 0 even on long running systems.
The reason Andrea originally added the softirqds was just that
if you have very softirq intensive workloads they would tie
up too much CPU time or not make enough process with the default
"don't loop too often" heuristics.
> We can not rely on irqs coming in when the softirq is raised from
You can't rely on it, but it happens in near all cases.
-Andi
--
ak at linux.intel.com -- Speaking for myself only.
More information about the Linuxppc-dev
mailing list