lkml.org 
[lkml]   [2014]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC v1 0/3] driver-core: add asynch module loading support
Hello, Luis.

I haven't followed the previous discussions so please let me know if
this has been discussed before. It looks like you're trying to extend
the async mechanism and applying them to init functions themselves.
That sounds kinda weird to me. Isn't the root cause of the problem
doing device probings along with driver initilaization on module load?

Wouldn't it be more logical to simply make bus_add_driver() ->
driver_attach() invocation asynchronous? There's no reason to make
them parallel either. We can use an ordered queue for it so that we
don't lose the probing order we used to have. Making things go
parallel is the responsibility of each probing function after all and
there isn't much to gain by making attach calls go parallel.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2014-08-31 12:41    [W:1.917 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site