From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932987AbZHZNVM (ORCPT ); Wed, 26 Aug 2009 09:21:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756907AbZHZNVL (ORCPT ); Wed, 26 Aug 2009 09:21:11 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55026 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756485AbZHZNVK (ORCPT ); Wed, 26 Aug 2009 09:21:10 -0400 Date: Wed, 26 Aug 2009 15:20:48 +0200 From: Pavel Machek To: Alan Stern Cc: "Rafael J. Wysocki" , linux-pm , linux-acpi , Linux Kernel Mailing List , Zhang Rui , Len Brown , Arjan van de Ven , Greg KH Subject: Re: [RFC][PATCH 0/7] PM: Asynchronous suspend and resume (updated) Message-ID: <20090826132048.GC1505@ucw.cz> References: <200908170215.21173.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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