Re: [PATCH] driver core: remove polling for driver_probe_done(v3)

From: Cornelia Huck
Date: Fri Jan 30 2009 - 08:31:45 EST


On Fri, 30 Jan 2009 20:48:35 +0800,
tom.leiming@xxxxxxxxx wrote:

> From: Ming Lei <tom.leiming@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/