lkml.org 
[lkml]   [2009]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] driver core: remove polling for driver_probe_done(v3)
On Fri, 30 Jan 2009 20:48:35 +0800,
tom.leiming@gmail.com wrote:

> From: Ming Lei <tom.leiming@gmail.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@gmail.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.


\
 
 \ /
  Last update: 2009-01-30 14:35    [W:2.119 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site