From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH 0/8] Suspend block api (version 6) Date: Mon, 17 May 2010 22:24:37 +0100 Message-ID: <20100517212437.GA2190@srcf.ucam.org> References: <20100514203202.GA12409@srcf.ucam.org> <87aas2azc5.fsf@deeprootsystems.com> <20100514231510.GG16989@thunk.org> <87r5laa4oc.fsf@deeprootsystems.com> <20100517193440.GA32066@srcf.ucam.org> <20100517210615.GB1873@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Linus WALLEIJ Cc: Greg Kroah-Hartman , Jesse Barnes , Oleg Nesterov , "linux-pm@lists.linux-foundation.org" , Arjan van de Ven , Len Brown , Jacob Pan , "linux-omap@vger.kernel.org" , Liam Girdwood , Daniel Walker , "tytso@mit.edu" , Geoff Smith , Brian Swetland , Mark Brown , "linux-kernel@vger.kernel.org" , Tejun Heo , Andrew Morton , Wu Fengguang List-Id: linux-pm@vger.kernel.org On Mon, May 17, 2010 at 11:16:52PM +0200, Linus WALLEIJ wrote: > Maybe I'm misunderstanding something basic here, but when you say frozen, > are you referring to freezer control groups > Documentation/cgroups/freezer-subsystem.txt? > > I was more thinking about something new, that isn't freezing anything. > The only purpose would be to group the stuff that CPUidle can ignore, > and let CPUidle ignore it, so that the system can still be idled. So they'd be on the runqeue but wouldn't factor into cpuidle's calculations of when the next wakeup should be? Ok. I think that still leaves you with the same problem - you're not scheduling that task, so how do you know to execute it when a network packet is received? I think you also still have the race condition. -- Matthew Garrett | mjg59@srcf.ucam.org