lkml.org 
[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [TuxOnIce-devel] [RFC] TuxOnIce
    On Tue 2009-05-26 13:07:22, Oliver Neukum wrote:
    > Am Dienstag, 26. Mai 2009 11:19:40 schrieb Pavel Machek:
    >
    > Hello,
    >
    > > For small allocations... I still believe we should free a bit of
    > > memory for s2ram so that small allocations can be done without
    > > problems.
    > > Pavel
    >
    > it is essential that this work. Some subsystems, ie. USB, need to allocate
    > memory to do IO. For them to work, small allocations must be possible.
    >
    > Now, is this a real issue? Can most devices really save a device state?
    > This capability seems to me to be limited to memory mapped IO at best.
    > USB devices generally don't save and restore state but bring the device
    > into the state it ought to be in, not the state it was in during resumption.

    Well, you are resuming, with disk still sleeping. You still need to
    submit those URBs. You have same problems as during suspend...

    BTW... patch removing that small pool of memory was merged few hours
    ago:

    [merged] pm-suspend-do-not-shrink-memory-before-suspend.patch

    I think it should be reverted.
    Pavel

    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2009-05-26 23:39    [W:4.159 / U:0.444 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site