Messages in this thread | | | Date | Fri, 30 Jan 2009 14:31:31 +0100 | From | Cornelia Huck <> | Subject | Re: [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.
| |