public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* cpu clock change latency
@ 2011-09-23 14:39 Marc Dietrich
       [not found] ` <201109231639.33651.marvin24-Mmb7MZpHnFY@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Dietrich @ 2011-09-23 14:39 UTC (permalink / raw)
  To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
  Cc: Stephen Warren, Olof Johansson, Colin Cross, Allen Martin

Hi,

arch/arm/mach-tegra/cpu-tegra.c (as from nv-tegra.nvidia.com) contains a some 
strange comment:

 493         /* FIXME: what's the actual transition time? */
 494         policy->cpuinfo.transition_latency = 300 * 1000;

The trees on chromeos.org (both, kernel and kernel-next) have:

 392         /* cpu clock change latency: ~400us */
 393         policy->cpuinfo.transition_latency = 400;

because according to 

http://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel.git;a=commitdiff;h=6a4debe346f5946f4fab14b413885896b7cde324

this improves latency of the GUI. Note that the comment said "us", while the cpu 
transition latency is measured in "ns", so 400 * 1000 would be right. 

So either the comment is wrong (should be 400ns) or the patch is wrong (which is 
unlikely, because it improved latency in the testcase).

Can someone comment on this?

Thanks

Marc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-27 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 14:39 cpu clock change latency Marc Dietrich
     [not found] ` <201109231639.33651.marvin24-Mmb7MZpHnFY@public.gmane.org>
2011-09-23 16:44   ` Allen Martin
2011-09-23 16:49   ` Colin Cross
     [not found]     ` <CAMbhsRTiqLZ2bSefh-DnmDY0RB4JGkSmumh8Tt_7217BsHsa7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-27 15:30       ` Mark Brown
     [not found]         ` <20110927153021.GA16150-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2011-09-27 19:31           ` Marc Dietrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox