Re: [PATCH 5/7] mmc_spi: allow higher timeouts for SPI mode

From: Wolfgang Mües
Date: Thu Mar 12 2009 - 04:18:54 EST


David,

Am Mittwoch, 11. März 2009 schrieb David Brownell:
> I think you're confused. A *delay() call will busy-wait.
> But a *sleep() call like msleep() will schedule.

Yes. You are right. I was confused. Sorry for that.

> (These speed concerns apply primarily to patch #6, not
> this one ...)

But I think the consequences of patch #6 are over-estimated. I have not noted
a slowdown in filesystem I/O. Most responses are coming in while the loop is
in busy-waiting. And for most embedded systems, it _is_ important to don't
allow long periods of busy-waiting.

There are other problems which are more notable: I have found that SDHC cards
(with FAT32, clustersize = 4 KByte) are much SLOWER than the older SD cards
(with FAT16, clustersize = 16-32 KByte). I will do some investigation here.

best regards
 
i. A. Wolfgang Mües
--
Auerswald GmbH & Co. KG
Hardware Development
Telefon: +49 (0)5306 9219 0
Telefax: +49 (0)5306 9219 94
E-Mail: Wolfgang.Mues@xxxxxxxxxxxx
Web: http://www.auerswald.de
 
--------------------------------------------------------------
Auerswald GmbH & Co. KG, Vor den Grashöfen 1, 38162 Cremlingen
Registriert beim AG Braunschweig HRA 13289
p.h.G Auerswald Geschäftsführungsges. mbH
Registriert beim AG Braunschweig HRB 7463
Geschäftsführer: Dipl-Ing. Gerhard Auerswald
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/