From patchwork Thu Apr 4 13:41:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 2392901 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 52FEADF25A for ; Thu, 4 Apr 2013 13:36:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760423Ab3DDNgJ (ORCPT ); Thu, 4 Apr 2013 09:36:09 -0400 Received: from mga01.intel.com ([192.55.52.88]:48115 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760322Ab3DDNgI (ORCPT ); Thu, 4 Apr 2013 09:36:08 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 04 Apr 2013 06:36:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,408,1363158000"; d="scan'208";a="313584681" Received: from ahunter-desktop.fi.intel.com ([10.237.72.194]) by fmsmga001.fm.intel.com with ESMTP; 04 Apr 2013 06:36:05 -0700 From: Adrian Hunter To: Chris Ball Cc: linux-mmc@vger.kernel.org, Ulf Hansson , Linus Walleij , Namjae Jeon , Sergey Yanovich , Jaehoon Chung , Adrian Hunter Subject: [PATCH 1/2] Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully" Date: Thu, 4 Apr 2013 16:41:05 +0300 Message-Id: <1365082866-28404-2-git-send-email-adrian.hunter@intel.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1365082866-28404-1-git-send-email-adrian.hunter@intel.com> References: <1365082866-28404-1-git-send-email-adrian.hunter@intel.com> Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org 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 --- drivers/mmc/core/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index ad7decc..3bf1c46 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) 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)