Re: [PATCH 2/2] spi: add statistics gathering and reporting methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 04, 2015 at 05:50:11PM +0200, Martin Sperl wrote:
> > On 04.05.2015, at 16:30, Mark Brown <broonie@xxxxxxxxxx> wrote:

> > I'm not saying don't lock, I'm asking if adding this spinlock is the
> > best way of doing this.  We already lock the master most of the time,
> > can we not continue using the same lock?

> Tell me the lock to use and I am happy to handle it.
> but a quick look shows that transfer_one_message is running without
> a lock held…

I didn't say don't take a lock, I said don't make a new lock.  

> But for that to work we will need to allocate spi_master_class
> (among other things) dynamically - Let us see how that works.

I'm not following this at all, sorry.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux