Re: Attempted summary of suspend-blockers LKML thread, take three

From: Felipe Contreras
Date: Thu Aug 12 2010 - 07:11:34 EST


On Thu, Aug 12, 2010 at 1:47 PM, Theodore Tso <tytso@xxxxxxx> wrote:
> One thing I'm not clear on --- what's your goal? Â Is your goal to keep suspend-blockers out of the kernel? Â Is it to try to convince the android team suspend-blockers are a bad idea and to change Android to not use them? ÂIs it to push some other agenda? ÂIs it to discourage the Android team from trying to waste more time trying to get suspend-blockers (or equivalent functionality) from being added into the kernel?

My goal is to shine light. I've heard many invalid arguments in favor
of suspend blockers, I want to shut them down.

In my mind it's crystal clear that independently of what opportunistic
suspend is supposed to be fixing, the fact of the matter is that it's
not a silver bullet as it's claimed to be.

So far, nobody has refuted these:
1) opportunistic suspend needs a good behaved user-space to work properly
2) if suspend blockers are enabled in a system, *all* user-space must
implement them to work correctly
3) implementing suspend blockers in user-space is not a straight-forward task
4) there's a point where sleeping (not doing work) has diminished returns

So, as the length of this thread has shown, the benefits of
opportunistic suspend are *dubious* at best, and more likely not worth
the changes needed in user-space which eventually will get pretty
close to what suspend blockers can achieve even in ideal circumstances
by just doing dynamic PM.

--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/