[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101201140330.GA7218@basil.fritz.box>
Date: Wed, 1 Dec 2010 15:03:30 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, Richard Purdie <rpurdie@...ys.net>,
Randy Dunlap <rdunlap@...otime.net>, netdev@...r.kernel.org
Subject: Re: [PATCH v2] add netdev led trigger
On Tue, Nov 30, 2010 at 07:03:00PM -0500, Eric Cooper wrote:
> On Mon, Nov 29, 2010 at 11:15:51AM +0100, Andi Kleen wrote:
> > Using the device name as an identifier is not reliable, they may not
> > be unique.
>
> I'm confused about this -- how else can the user specify the desired network
> interface?
For presenting the user the name is probably still the best, but internally
better use the interface index.
>
> > rwlocks are deprecated.
>
> In favor of what? Should I use a spinlock?
spinlocks or mutexes.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists