Re: [RFC} sdhci.c set_ios -- disable global interrupts and Question on Power Management

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

 



I wonder if I can remove the locking (spin_lock).  The disable and enable irq should be enough.  

Thoughts ..

Philip

On Feb 14, 2011, at 1:55 AM, Wolfram Sang wrote:

> 
>> It looks like the mdelay are not in the fastpath, so why bother.
> 
> On embedded systems, we had audio streaming or CAN communication or similar
> running in parallel. Currently, those mdelays (there are a couple, sadly)
> produce significant latencies, e.g. when inserting/removing a card. The latter
> gets especially bad with BROKEN_CARD_DETECTION.
> 
> The proper solution is probably to check the locking and see if it can be made
> fine-granular, I'd assume?
> 
> Regards,
> 
>   Wolfram
> 
> -- 
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux