From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Walker Subject: Re: [PATCH 0/8] Suspend block api (version 6) Date: Mon, 17 May 2010 12:50:40 -0700 Message-ID: <1274125840.25625.21.camel@c-dwalke-linux.qualcomm.com> References: <1272667021-21312-1-git-send-email-arve@android.com> <87wrvl5479.fsf@deeprootsystems.com> <20100503215028.GB18910@srcf.ucam.org> <20100514203202.GA12409@srcf.ucam.org> <87aas2azc5.fsf@deeprootsystems.com> <20100514231510.GG16989@thunk.org> <87r5laa4oc.fsf@deeprootsystems.com> <20100517193440.GA32066@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100517193440.GA32066@srcf.ucam.org> 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: Matthew Garrett Cc: Greg Kroah-Hartman , Jesse Barnes , Oleg Nesterov , linux-pm@lists.linux-foundation.org, Liam Girdwood , Len Brown , acob Pan , J@smtp1.linux-foundation.org, linux-omap@vger.kernel.org, Linus Walleij , tytso@mit.edu, Geoff Smith , Brian Swetland , Mark Brown , linux-kernel@vger.kernel.org, Tejun Heo , Andrew Morton , Wu Fengguang , Arjan van de Ven List-Id: linux-omap@vger.kernel.org On Mon, 2010-05-17 at 20:34 +0100, Matthew Garrett wrote: > int main() { > int i; > while (1) > i++; > return 0; > } > We already know it's really rare on an embedded system you would get this bad of an app. However, if you assume that you might have this 1 in a million app, couldn't we just have a watch dog that identifies and kills it. It would also let the user know what happened of course. Killing the app seems pretty reasonable to me. Daniel