From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Falempe Jocelyn <jocelyn.falempe@motorola.com>
Cc: linux-acpi@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: New feature proposal "quickwakeup"
Date: Fri, 6 Nov 2009 18:09:15 +0000 [thread overview]
Message-ID: <20091106180915.GA25582@srcf.ucam.org> (raw)
In-Reply-To: <1257529341.2528.21.camel@xhp836-11>
On Fri, Nov 06, 2009 at 06:42:21PM +0100, Falempe Jocelyn wrote:
> In fact we are doing "retention" in idle and with the suspend path. It's
> specific to Android, with the global suspend and wakelock framework.
> When all wakelocks are released (ie screen is black, no running app),
> the phone goes to suspend, which freeze userspace and also suspend the
> device driver. This way you can choose the wakeup sources, and stay in
> suspend during a long time (a few hours). Without this, you have to
> track down all user space app that wakeup the phone, and it is hard to
> sleep more than a few second.
What's triggering the application wakeups? If it's just timeouts, can't
you simply adjust the range timer slop so that the timeouts don't fire?
> The drawback is that when you want to wakeup, it takes a lot of time to
> unfreeze the userspace, and resume all the device driver. This is what
> this feature address (for low-level wakeup only).
> But as this patch is not Android specific, I think other platforms may
> use it too.
Yeah, I can certainly see the appeal if you have that constraint.
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2009-11-06 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 16:00 New feature proposal "quickwakeup" Falempe Jocelyn
2009-11-06 17:03 ` Matthew Garrett
2009-11-06 17:42 ` Falempe Jocelyn
2009-11-06 18:09 ` Matthew Garrett [this message]
2009-11-09 14:20 ` Falempe Jocelyn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091106180915.GA25582@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=jocelyn.falempe@motorola.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox