| To: | rlrevell@xxxxxxxxxxx (Lee Revell) |
|---|---|
| Subject: | Re: tun.c patch to fix "smp_processor_id() in preemptible code" |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 20 Oct 2004 07:35:54 +1000 |
| Cc: | vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <1098210711.2148.69.camel@krustophenia.net> |
| Organization: | Core |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686)) |
Lee Revell <rlrevell@xxxxxxxxxxx> wrote: > > I looked at Robert Love's book and I am still unclear on the use of > do_softirq above. To reiterate the question: why does netif_rx_ni have > to manually flush any pending softirqs on the current proccessor after > doing the rx? Is this just a performance hack? Yes it allows the packet to be processed immediately. -- 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6.9 1/3] hp100: use netdev_priv (rev 2), Stephen Hemminger |
|---|---|
| Next by Date: | Re: tun.c patch to fix "smp_processor_id() in preemptible code", Lee Revell |
| Previous by Thread: | Re: tun.c patch to fix "smp_processor_id() in preemptible code", Lee Revell |
| Next by Thread: | Re: tun.c patch to fix "smp_processor_id() in preemptible code", Lee Revell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |