Skip to content

Commit

Permalink
Revert "mmc: core: wait while adding MMC host to ensure root mounts s…
Browse files Browse the repository at this point in the history
…uccessfully"

This reverts commit 3500ed9.

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>
  • Loading branch information
Adrian Hunter authored and Chris Ball committed Apr 12, 2013
1 parent bdbc5d0 commit f9a94e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f9a94e0

Please sign in to comment.