From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) Date: Thu, 27 May 2010 17:07:40 +0200 Message-ID: <1274972860.27810.5156.camel@twins> References: <20100526120242.5c9b73ad@schatten.dmk.lab> <20100526133721.602633b2@schatten.dmk.lab> <20100526142430.327ccbc4@schatten.dmk.lab> <20100526141612.3e2e0443@lxorguk.ukuu.org.uk> <20100527003943.07c17f85@lxorguk.ukuu.org.uk> <20100527140655.GA28048@srcf.ucam.org> <1274970531.27810.5024.camel@twins> <20100527143508.GA30117@srcf.ucam.org> <1274971317.27810.5070.camel@twins> <1274971437.27810.5078.camel@twins> <20100527161054.203663ca@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20100527161054.203663ca@lxorguk.ukuu.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: Alan Cox Cc: Matthew Garrett , Arve =?ISO-8859-1?Q?Hj=F8nnev=E5g?= , Florian Mickler , Vitaly Wool , LKML , felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM List-Id: linux-omap@vger.kernel.org On Thu, 2010-05-27 at 16:10 +0100, Alan Cox wrote: > > > Heck, for all I care, simply SIGKILL the thing and report it once the > > > user starts looking at his screen again. > > > > Provide incentive for Joe Clicker to improve his app, instead of cope > > with the shit he created. > > That isn't helpful. But if you feel like that I suggest you run with your > memory management protection disabled, it's really on there to deal with > crap code and its giving the wrong incentives. Come to think of it > you might want to remove your seatbelts and any safety catches or airbags > - it only encourages carelessness. > > The reality is you need a sane, generic, race free way to express your > requirements (eg for hard RT) and ditto for constraining the expression > (for 'crapplications') > > Arguing that you don't need to do this isn't useful. Android has > demonstrated a need to do this. RT has a need to do some of this. > Virtualisation wants elements of this etc. Sure, I fully agree with the task and per device QoS stuff. I'm just saying that its good to inform the user that some app is severely mis-behaving.