lkml.org 
[lkml]   [2009]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] driver core: remove polling for driver_probe_done(v2)
From
2009/1/30 Cornelia Huck <cornelia.huck@de.ibm.com>:
> On Fri, 30 Jan 2009 18:17:36 +0800,
> Ming Lei <tom.leiming@gmail.com> wrote:
>
>> If probing done does not mean the device is available, this patch should be
>> ignored or fixed further.
>>
>> But polling is really not good, is there a approach to avoid the polling for
>> appearence of the root device?
>
> I think the parts of your patch that replace polling for
> driver_probe_done() with waiting on the waitqueue are fine. The
> problematic part is the rootwait special case, where polling seems
> unavoidable afaics.

Yes.

Maybe we should keep the polling for root device. And I will resend a
patch ,which only replace the driver_probe_done().

Thanks.

>



--
Lei Ming


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