diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2013-04-04 09:41:05 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-04-12 14:07:50 -0400 |
commit | f9a94e0a3f18ae4c0245d4a16d0ee20e93fd7bad (patch) | |
tree | 20bfeed8c82f03b1a14ecb650ad2b4767b17a5b5 /drivers/mmc/core | |
parent | bdbc5d0c60f3e9de3eeccf1c1a18bdc11dca62cc (diff) |
Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully"
This reverts commit 3500ed90b26a9935b943b5e2e4cd3226600d6b58.
The reverted patch caused a significant performance regression when
booting with the root file system on eMMC.
Before the patch:
[ 1.625623] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
After the patch:
[ 1.935851] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
That was an addition of 310 ms which is a 19% performance degradation.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index ad7decc3340a..3bf1c462eded 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -2418,7 +2418,6 @@ void mmc_start_host(struct mmc_host *host) | |||
2418 | host->rescan_disable = 0; | 2418 | host->rescan_disable = 0; |
2419 | mmc_power_up(host); | 2419 | mmc_power_up(host); |
2420 | mmc_detect_change(host, 0); | 2420 | mmc_detect_change(host, 0); |
2421 | mmc_flush_scheduled_work(); | ||
2422 | } | 2421 | } |
2423 | 2422 | ||
2424 | void mmc_stop_host(struct mmc_host *host) | 2423 | void mmc_stop_host(struct mmc_host *host) |