From: "Rafael J. Wysocki" Subject: Re: [RFC][PATCH 0/3] PM: Asynchronous suspend and resume Date: Thu, 13 Aug 2009 23:10:26 +0200 Message-ID: <200908132310.26539.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:36459 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753317AbZHMVJp (ORCPT ); Thu, 13 Aug 2009 17:09:45 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Alan Stern Cc: linux-pm , linux-acpi , Linux Kernel Mailing List , Zhang Rui , Len Brown , Arjan van de Ven On Thursday 13 August 2009, Alan Stern wrote: > On Thu, 13 Aug 2009, Rafael J. Wysocki wrote: > > > > If the set of pm_connection objects is reasonably small then the > > > master_hook and slave_hook aren't needed; you can just read through the > > > entire list. Leaving out parent-child connections, which we already > > > know, would help shrink the set. > > > > Do you mean a global list for the entire system? I'm not sure if that wouldn't > > hurt performance (please note that it also affects runtime PM). > > It doesn't have to affect runtime PM. That is, for runtime PM we can > make the bus subsystems responsible for enforcing the dependencies. Since the runtime PM framework takes the parent-child relationships into accout, I think it should also follow the "master"-"slave" dependencies if they are represented at the core level. Still, at this point the question really is how many off-tree dependencies there are, because the best way to represent them will follow from that. Thanks, Rafael