Re: network driver disabled interrupts in PREEMPT_RT

From: Herbert Xu
Date: Thu Jun 16 2005 - 22:17:09 EST


Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Mon, Jun 13, 2005 at 08:56:42PM +0200, Ingo Molnar wrote:
>>
>> * Kristian Benoit <kbenoit@xxxxxxxxxxx> wrote:
>>
>> > Hi,
>> > I got lots of these messages when accessing the net running
>> > 2.6.12-rc6-RT-V0.7.48-25 :
>> >
>> > "network driver disabled interrupts: tg3_start_xmit+0x0/0x629 [tg3]"
>> >
>> > it seem to come from net/sched/sch_generic.c.
>>
>> does the patch below fix it?
>
> Wouldn't it be much more useful to add spin_trylock_irq?

Dave has a patch pending that should remove these IRQ disabling calls.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/