[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150328083600.GB4255@localhost.localdomain>
Date: Sat, 28 Mar 2015 09:36:00 +0100
From: Richard Cochran <richardcochran@...il.com>
To: Lino Sanfilippo <LinoSanfilippo@....de>
Cc: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, devicetree@...r.kernel.org,
galak@...eaurora.org, netdev@...r.kernel.org,
linux-sh@...r.kernel.org
Subject: Re: [PATCH resend] Renesas Ethernet AVB driver
On Sat, Mar 28, 2015 at 06:17:13AM +0100, Lino Sanfilippo wrote:
>
> Do you really need one huge lock for all register accesses? Maybe you
> should rethink which registers can actually be accessed concurrently and
> implement some finer grained locking.
One lock is fine, unless the registers are highly contended.
Thanks,
Richard
--
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