Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U4

From: john cooper
Date: Sat Oct 16 2004 - 15:43:48 EST


Ingo,
In reading your -U3 patch the test below (#156)
wasn't clear to me. It would seem in the case of
softirq_preemption, __do_softirq() should be called
to kick ksoftirqd, otherwise ___do_softirq() would
be called to exec softirqs in the immediate context.

kernel/softirq.c:

153 asmlinkage void _do_softirq(void)
154 {
155 local_irq_disable();
156 if (!softirq_preemption)
157 __do_softirq();
158 else
159 ___do_softirq();
160 local_irq_enable();
161 }

-john

--
john.cooper@xxxxxxxxxxx

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