Re: softirq buggy [Re: Serial port latency]

kuznet@ms2.inr.ac.ru
Sun, 8 Apr 2001 20:58:31 +0400 (MSK DST)


Hello!

> + if (softirq_active(smp_processor_id()) & softirq_mask(smp_processor_id())) {
> + do_softirq();
> + return 0;

BTW you may delete do_softirq()... schedule() will call this.

> + *
> + * Isn't this identical to default_idle with the 'no-hlt' boot
> + * option? <manfred@colorfullife.com>

Seeems, it is not. need_resched=-1 avoids useless IPIs.

Alexey
-
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/