[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090130143131.0214a887@gondolin>
Date: Fri, 30 Jan 2009 14:31:31 +0100
From: Cornelia Huck <cornelia.huck@...ibm.com>
To: tom.leiming@...il.com
Cc: kay.sievers@...y.org, greg@...ah.com, arjan@...radead.org,
linux-kernel@...r.kernel.org, Ming Lei <tom.leiming@...il.com>
Subject: Re: [PATCH] driver core: remove polling for driver_probe_done(v3)
On Fri, 30 Jan 2009 20:48:35 +0800,
tom.leiming@...il.com wrote:
> From: Ming Lei <tom.leiming@...il.com>
>
> This patch adds a function : driver_wait_probe_done,
> which waits on condition of probing done to replace
> polling for driver_probe_done in fs initialization.
>
> There is no better way to avoid polling for
> driver_probe_done _and_ existence of the root device,
> so we does not replace the driver_probe_done with
> driver_wait_probe_done in such special case.
>
> Removing polling in fs initialization may lead to
> a faster boot.
>
> Signed-off-by: Ming Lei <tom.leiming@...il.com>
> ---
> drivers/base/dd.c | 12 ++++++++++++
> include/linux/device.h | 1 +
> init/do_mounts.c | 4 ++--
> init/do_mounts_md.c | 3 +--
> 4 files changed, 16 insertions(+), 4 deletions(-)
Looks good and also survived a quick test on my s390 LPAR.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists