logo       

Re: [PATCH] (8/8) loopback device simplification: msg#00105

Subject: Re: [PATCH] (8/8) loopback device simplification
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>