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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: david
Date: Friday, August 6, 2010 - 8:08 pm

On Fri, 6 Aug 2010, Alan Stern wrote:


sorry for misunderstanding things, thank you for speaking up to correct 
the misunderstanding.


Ok, aside from possibly drivers, what' stopping this from being done on a 
valilla system today?


Ok, this is the first I've heard in this discussion that wakelocks would 
not be available to userspace. In fact it was explicitly stated that 
userspace applications called IOCTLs to get/release the wakelock.

many of my objections (voiced in another thread) about Android specific 
features are not relavent if the wakelock in userspace is just part of 
that application framework and not tied into the kernel.


Ok, then why is there still discussion about wakelocks at all if Raphael 
has implemnetd the needed kernel functionality and userspace is Android 
SDK specific? the heated replys from some people about what Android needs 
(from people who I assumed were Android maintainers due to the way they 
were answering questions) sure didn't sound like this was a solved 
problem.


the difference is that not all suspends on Android are the same, 
sometimes when you suspend you power down the audio components, sometimes 
you don't.

As far as I am aware (and please correct meif I am mistaken), this is 
significantly different from suspend elsewhere where suspend always takes 
you to the same state.


Do Brian and Arve agree that this solves their problem?


to be fair, there have been numerous complaints about suspend being 
separate from deep sleep long before Android. Linus' blow-up that resulted 
in Hibernation and Suspend being separated from each other is a case in 
point. He was making the point that there shouldn't be a difference 
between the deepest sleep and suspend.

As deep sleep gains the ability to use even less power and as suspend 
gains the ability to leave things on sometimes, the difference between 
them is dissapearing. I wouldn't be at all surprised to see them start 
overlaping soon. So it's not that I think Android should use deep sleeps 
instead of suspend, but rather that suspend should just be the deepest 
sleep, one mechanism instead of two.

David Lang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Attempted summary of suspend-blockers LKML thread, tak ..., david, (Fri Aug 6, 8:08 pm)