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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm