Re: 2.4.7 softirq incorrectness.

From: David S. Miller (
Date: Fri Jul 27 2001 - 04:34:56 EST writes:
> So, is plain raising softirq and leaving it raised before return
> to normal context not a bug? If so, then no problems.

Do you mean "user context" when you say normal? Or just arbitrary
non-interrupt context. In fact, to me, no specific execution context
stands out with description of "normal". All of them are normal

> > after netif_rx.
> But why not to do just local_bh_disable(); netif_rx(); local_bh_enable()?
> Is this not right?

As Jeff mentioned, this is the cure we agreed to in earlier softirq

The reason I pushed to have netif_FOO use __cpu_raise_softirq() was
that I felt sick to my stomache when I saw a new whole function call
added to that spot. It is one of the most imporant paths in packet
processing, and it runs regardless of protocol you use (well, except
perhaps AF_UNIX :-)))

Let us just fix the odd places that aren't calling things in the
correct environment.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:31 EST