Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758008Ab0HKAoY (ORCPT ); Tue, 10 Aug 2010 20:44:24 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:53038 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720Ab0HKAoW (ORCPT ); Tue, 10 Aug 2010 20:44:22 -0400 Date: Tue, 10 Aug 2010 17:44:15 -0700 From: "Paul E. McKenney" To: Alan Cox Cc: Matthew Garrett , "Ted Ts'o" , Felipe Contreras , david@lang.hm, Brian Swetland , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, arve@android.com, pavel@ucw.cz, florian@mickler.org, rjw@sisk.pl, stern@rowland.harvard.edu, peterz@infradead.org, tglx@linutronix.de, menage@google.com, david-b@pacbell.net, James.Bottomley@suse.de, arjan@infradead.org, swmike@swm.pp.se, galibert@pobox.com, dipankar@in.ibm.com Subject: Re: Attempted summary of suspend-blockers LKML thread, take three Message-ID: <20100811004415.GI2379@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20100808155719.GB3635@thunk.org> <20100808213821.GD3635@thunk.org> <20100809112453.77210acc@lxorguk.ukuu.org.uk> <20100809181638.GI3026@linux.vnet.ibm.com> <20100809201822.441905f7@lxorguk.ukuu.org.uk> <20100810044541.GA2817@linux.vnet.ibm.com> <20100810093849.138e2318@lxorguk.ukuu.org.uk> <20100810141107.GA12873@srcf.ucam.org> <20100810154405.475c2669@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100810154405.475c2669@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 19 On Tue, Aug 10, 2010 at 03:44:05PM +0100, Alan Cox wrote: > Which reminds me. I forgot a very important way that user space signals > the kernel as to its intents. > > The kernel can see whether code is sleeping by choice or sleeping because > someone blocked it (eg a page fault). The kernel also knows a lot about > the event being waited for (much more so in -rt than base). > > We don't capture all of that info but it seems it would advance progress > in the right direction to do so better. As one approach of many, this makes a great deal of sense. Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/