Re: [RFC PATCH] Multi-threaded device probing

From: Greg KH
Date: Wed Jul 26 2006 - 03:24:58 EST


On Tue, Jul 25, 2006 at 03:57:42PM -0700, Keshavamurthy Anil S wrote:
> > + data = kmalloc(sizeof(*data), GFP_KERNEL);
> > + data->drv = drv;
> > + data->dev = dev;
> > +
> > + if (drv->multithread_probe) {
> ^^^^^^^^^^^^^^^^^^^^^^
> if (drv->multithread_probe && !cmdline_mtprobe) {
>
> Also I think providing cmdline option to override the default
> multithread probe behaviour would be good. Something like above
> which is useful while debugging the boot issues.

As this is going to be a bus specific option, one would think that the
individual busses would provide such a switch, if they wanted to or not.

thanks,

greg k-h
-
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/