| To: | Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: netdev ioctl & dev_base_lock : bad idea ? |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Wed, 8 Dec 2004 22:06:42 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <1101458929.28048.9.camel@gaston> |
| References: | <1101458929.28048.9.camel@gaston> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 26 Nov 2004 19:48:49 +1100 Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote: > I suppose there is a good reason we can't just use the rtnl_sem for > these guys, though why isn't dev_base_lock a read/write semaphore > instead of a spinlock ? At least on ppc, I don't think there's any > overhead in the normal path, and this is not on a very critical path > anyway, is it ? It can't be a semphore because it is taken in packet processing, and thus softint handling, paths. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] netem: restart device after inserting packets, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] [IPVS] add a sysctl variable to expire quiescent template, David S. Miller |
| Previous by Thread: | [PATCH] [ATM]: small atm cleanups (from Adrian Bunk <bunk@xxxxxxxxx>), chas williams - CONTRACTOR |
| Next by Thread: | Re: netdev ioctl & dev_base_lock : bad idea ?, Benjamin Herrenschmidt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |