On Sat, 29 May 2010 20:12:14 +0200
Peter Zijlstra <peterz@infradead.org> wrote:
The trick with the approach currently discussed (i.e.
opportunistic suspend, if you missed it): We suspend the whole machine.
And I really think, this is the only way to do it. It is a big hammer,
shure. But if you can pull it of...
If I have a simple shell script then I don't wanna jump through
hoops just to please your fragile kernel.
And before you judge code that does not behave to work with YOUR buggy
kernel, i would think twice. This cuts both ways. Just because the
problem is too hard for you, this does not excuse forcing crappy
kernels on other people.
I think you have a point in that it is _in general_ not easily
possible to solve. But for this case this is clearly a simple, to the
point and working solution for android based phones.
"Der Wurm muss dem Fisch schmecken, nicht dem Angler."
I think this would be a possibility. And maybe even sane. But I also
think this has nothing to do with suspend_blockers. They block
suspend. You know?
This simple doesn't solve the problem.
Cheers,
Flo
--