Re: [RFC PATCH] Multi-threaded device probing

Greg KH
2006-07-26T07:27:00Z

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