lkml.org 
[lkml]   [2007]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway
    Date
    Am Mittwoch, 4. Juli 2007 schrieb Matthew Garrett:
    > On Wed, Jul 04, 2007 at 10:38:47AM -0400, Alan Stern wrote:
    >
    > > Okay, I agree that (1) can be handled without too much effort.  But
    > > doing it adds an extra test to _every_ driver's I/O pathway.  Freezing
    > > userspace does not incur all this additional overhead.
    >
    > For runtime PM to work it's already necessary to have a test in that
    > path to check if the device is suspended. I can't see how this adds any
    > overhead to the common case.

    No,

    you just make sure the device reports to upper layers when it might
    be busy. The USB layer manages this quite well without burdening
    the common case.

    Regards
    Oliver
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-04 17:05    [W:5.189 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site