]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully"
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 4 Apr 2013 13:41:05 +0000 (16:41 +0300)
committerChris Ball <cjb@laptop.org>
Fri, 12 Apr 2013 18:07:50 +0000 (14:07 -0400)
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>
drivers/mmc/core/core.c

index ad7decc3340a29b2c482d343d48aee8a22fe2e68..3bf1c462eded498c9824757ffea2971274ad2049 100644 (file)
@@ -2418,7 +2418,6 @@ void mmc_start_host(struct mmc_host *host)
        host->rescan_disable = 0;
        mmc_power_up(host);
        mmc_detect_change(host, 0);
-       mmc_flush_scheduled_work();
 }
 
 void mmc_stop_host(struct mmc_host *host)