lkml.org 
[lkml]   [2015]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [GIT PULL] On-demand device probing
    On Sat, Oct 17, 2015 at 01:54:43PM -0400, Rob Clark wrote:
    > On Sat, Oct 17, 2015 at 12:56 PM, Greg Kroah-Hartman
    > <gregkh@linuxfoundation.org> wrote:
    > >> I'm guessing the time is a matter of probing and undoing the probes
    > >> rather than slow h/w. We could maybe improve things by making sure
    > >> drivers move what they defer on to the beginning of probe, but that
    > >> seems like a horrible, fragile hack.
    > >
    > > How can calling probe and failing cause 2 seconds? How many different
    > > probe calls are failing here? Again, a boot log graph would be great to
    > > see as it will show the root cause, not just guessing at this.
    >
    >
    > just fwiw, but when you have a driver that depends on several other
    > drivers (which in turn depend on other drivers and so on), the amount
    > of probe-defer we end up seeing is pretty comical. Yeah, there
    > probably is some room to optimize by juggling around order drivers do
    > things in probe. But that doesn't solve the fundamental problem with
    > the current state, about probe order having no clue about
    > dependencies..

    I can imagine it is a lot of iterations, but how long does it really
    take? How many different devices are involved that it takes multiple
    loops in order to finally work out the correct order? Where is the time
    delays here, just calling probe() and having it instantly return
    shouldn't take all that long.

    thanks,

    greg k-h


    \
     
     \ /
      Last update: 2015-10-17 20:41    [W:2.649 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site