From: "David S. Miller" <davem@redhat.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: jgarzik@pobox.com, netdev@oss.sgi.com
Subject: Re: [PATCH] (8/8) loopback device simplification
Date: Thu, 4 Sep 2003 12:07:43 -0700 [thread overview]
Message-ID: <20030904120743.3b96e738.davem@redhat.com> (raw)
In-Reply-To: <20030904121421.51b2f993.shemminger@osdl.org>
On Thu, 4 Sep 2003 12:14:21 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:
> On Wed, 3 Sep 2003 20:41:05 -0700
> "David S. Miller" <davem@redhat.com> 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 parent reply other threads:[~2003-09-04 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030903164921.7d923008.shemminger@osdl.org>
2003-09-04 0:43 ` [PATCH] (8/8) loopback device simplification Jeff Garzik
2003-09-04 3:41 ` David S. Miller
2003-09-04 19:14 ` Stephen Hemminger
2003-09-04 19:07 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030904120743.3b96e738.davem@redhat.com \
--to=davem@redhat.com \
--cc=jgarzik@pobox.com \
--cc=netdev@oss.sgi.com \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).