Messages in this thread | | | Date | Wed, 26 Aug 2009 15:20:48 +0200 | From | Pavel Machek <> | Subject | Re: [RFC][PATCH 0/7] PM: Asynchronous suspend and resume (updated) |
| |
Hi!
> > * Added [2/7] adding a framework for representing PM link (idea described > > in the patch message). > > > > * [3/7] is the async resume patch (idea described in the patch message). > > > > * [4/7] is the async suspend patch. > > > > * [5/7] - [7/7] set async_suspend for devices in a few selected subsystems. > > > > The patches have been tested on HP nx6325. > > > > Comments welcome. > > I'm not sure about the design of these things. How much do we care > about wasting memory? Your scheme allocates six pointers for every > dependency, plus four pointers for every device. It's possible to > reduce this considerably, especially if the parent-child dependencies > aren't stored explicitly.
I'd say that this level of memory waste is perfectly acceptable...
Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |