public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ai Li" <aili@codeaurora.org>
To: 'Mike Chan' <mike@android.com>
Cc: linux-pm@lists.linux-foundation.org, '640E9920' <640e9920@gmail.com>
Subject: Re: PM-QOS hot path discussion.
Date: Wed, 27 Jan 2010 12:08:22 -0700	[thread overview]
Message-ID: <002401ca9f84$18cbcf70$4a636e50$@org> (raw)
In-Reply-To: <8bb80c381001261800x48f33759h966a6231e7854d0e@mail.gmail.com>

> There are a few lower power states on msm that we don't
> differentiate
> between when taking an idle lock.
> 
> We don't use idle locks on omap. The resource framework in the
> omap
> tree is sufficient with the latency requirement calls in
> resource34xx.c/h
> 
> I might be wrong here but it sounds like you're trying to solve
> a
> similar problem but working it into the pm-qos framework? Or am
> I
> confused on what the subject of this thread is?

pm_qos framework handles latency requirements already and can be used
on all platforms.  Our code at codeaurora.org for MSM chips uses
pm_qos for latency.  This thread discusses improving efficient
execution of pm_qos in hot-path, i.e. when pm_qos is called very
frequently.  The improvement would apply to all pm_qos parameters,
not just latency.  The latency implementations in pm_qos and in
android's WAKE_LOCK_IDLE are references as to what have been done
already.

There is a related discussion in the thread "[linux-pm] platform
specific pm_qos parameters".  That thread focuses on how to add
platform-specifc parameters to pm_qos, i.e. creating a mechanism so
that each platform (i.e. x86, OMAP, MSM) can append its own set of
pm_qos parameters and associated behavior.

~Ai

      reply	other threads:[~2010-01-27 19:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 17:27 PM-QOS hot path discussion 640E9920
2010-01-26 17:36 ` Ai Li
2010-01-27  2:00   ` Mike Chan
2010-01-27 19:08     ` Ai Li [this message]

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='002401ca9f84$18cbcf70$4a636e50$@org' \
    --to=aili@codeaurora.org \
    --cc=640e9920@gmail.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mike@android.com \
    /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