From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759259Ab0E0Tqb (ORCPT ); Thu, 27 May 2010 15:46:31 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:50041 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758139Ab0E0Tqa (ORCPT ); Thu, 27 May 2010 15:46:30 -0400 Date: Thu, 27 May 2010 20:53:33 +0100 From: Alan Cox To: Matthew Garrett Cc: Arve =?ISO-8859-14?B?SGr4bm5lduVn?= , Florian Mickler , Vitaly Wool , Peter Zijlstra , LKML , Paul@smtp1.linux-foundation.org, felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) Message-ID: <20100527205333.676ad65e@lxorguk.ukuu.org.uk> In-Reply-To: <20100527192926.GA6977@srcf.ucam.org> References: <20100527140655.GA28048@srcf.ucam.org> <20100527160543.2228fc17@lxorguk.ukuu.org.uk> <20100527160714.GB31937@srcf.ucam.org> <20100527174131.18fd1c72@lxorguk.ukuu.org.uk> <20100527165210.GA1062@srcf.ucam.org> <20100527190204.14546caa@lxorguk.ukuu.org.uk> <20100527181239.GF3543@srcf.ucam.org> <20100527194840.5bca973f@lxorguk.ukuu.org.uk> <20100527185658.GA5703@srcf.ucam.org> <20100527202538.7d2d7f3c@lxorguk.ukuu.org.uk> <20100527192926.GA6977@srcf.ucam.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 May 2010 20:29:26 +0100 Matthew Garrett wrote: > On Thu, May 27, 2010 at 08:25:38PM +0100, Alan Cox wrote: > > > The scheduler can happily do this, the power management will also > > recognize STOPPED processes as no impediment to suspend. > > But wakeup events won't be delivered to STOPped processes, and there's Try the following cat pipe kill -CONT catpid it will echo "wombats are cool" The event was not lost. > also the race of an application being in the middle of handling a wakeup > event when you send it the signal. sigmask()