From: Pavel Machek <pavel@ucw.cz>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
Thomas Gleixner <tglx@linutronix.de>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
patchwork-lst@pengutronix.de
Subject: Re: [PATCH 2/2] PM / Runtime: use deferrable timer for autosuspend
Date: Wed, 13 Jan 2016 20:02:20 +0100 [thread overview]
Message-ID: <20160113190220.GC9821@amd> (raw)
In-Reply-To: <1452619040-27137-2-git-send-email-l.stach@pengutronix.de>
On Tue 2016-01-12 18:17:20, Lucas Stach wrote:
> The timeouts used in PM autosuspend are relatively coarse (the shortest
> I could find in a quick search through the kernel is 50ms). As they are
> already handled relaxed by saving the overhead of always rearming the
> timer by opportunistically suspending a device a bit early, it should
> not matter if the the timeout is missed slightly.
>
> By using a deferrable timer the CPU will not be woken just to handle
> the autosuspend timeout, but handling will be batched with other
> wakeups in the system.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2016-01-13 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 17:17 [PATCH 1/2] timer: add setup_deferrable_timer macro Lucas Stach
2016-01-12 17:17 ` [PATCH 2/2] PM / Runtime: use deferrable timer for autosuspend Lucas Stach
2016-01-13 19:02 ` Pavel Machek [this message]
2016-01-19 0:28 ` Rafael J. Wysocki
2016-01-26 17:23 ` [PATCH 1/2] timer: add setup_deferrable_timer macro Thomas Gleixner
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=20160113190220.GC9821@amd \
--to=pavel@ucw.cz \
--cc=l.stach@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=patchwork-lst@pengutronix.de \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.