[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-pm] [PATCH 0/8] Suspend block api (version 8)
On Thu, May 27, 2010 at 10:03:14PM +0100, Alan Cox wrote:
> On Thu, 27 May 2010 18:59:20 +0100
> Matthew Garrett <> wrote:
> > Ok. So the existing badly-behaved application ignores your request and
> > then gets blocked. And now it no longer responds to wakeup events. So
> > you penalise well-behaved applications without providing any benefits to
> > badly-behaved ones.
> I don't see how you put the first two sentences together and get the
> final one.
> When you beat up badly behaved apps that doesn't penalise well behaved
> ones.

If you're going to block an app on drawing then you either need to
reenable drawing on wakeup or you need to have an interface for alerting
the app to the fact that drawing is about to block and it should get
back to its event loop. The first is suboptimal, the second penalises
well behaved apps.

Matthew Garrett |

 \ /
  Last update: 2010-05-27 23:09    [W:0.444 / U:0.368 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site