| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] (8/8) loopback device simplification |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Thu, 4 Sep 2003 12:07:43 -0700 |
| Cc: | jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20030904121421.51b2f993.shemminger@osdl.org> |
| References: | <20030903164921.7d923008.shemminger@osdl.org> <3F568AC0.5090601@pobox.com> <20030903204105.0f01f131.davem@redhat.com> <20030904121421.51b2f993.shemminger@osdl.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 4 Sep 2003 12:14:21 -0700 Stephen Hemminger <shemminger@xxxxxxxx> wrote: > On Wed, 3 Sep 2003 20:41:05 -0700 > "David S. Miller" <davem@xxxxxxxxxx> wrote: > > > The fact that we export the list and it's locking makes it > > really hard to change things. > > my current idea is to switch dev_base_lock over to RCU and > change dev_base to a list macro. > > #define for_each_netdev(_d) list_for_each_entry_rcu(_d, &netdev_base, > dev_list) Also see other threads where we were discussing making it into a hash table in order to speed up search and name allocation. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] convert /proc/net/unix to seq_file, David S. Miller |
|---|---|
| Next by Date: | Re: [RFT] covert br2684 to seq_file, David S. Miller |
| Previous by Thread: | Re: [PATCH] (8/8) loopback device simplification, Stephen Hemminger |
| Next by Thread: | Re: [PATCH] (1/8) add probe_old_netdevs hook, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |