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
postings.
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.
Later,
David S. Miller
davem@redhat.com
-
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/