Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9a94e0a authored by Adrian Hunter's avatar Adrian Hunter Committed by Chris Ball
Browse files

Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully"



This reverts commit 3500ed90.

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: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent bdbc5d0c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)