summaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2012-04-28 23:25:39 -0700
committerVarun Colbert <vcolbert@nvidia.com>2012-05-01 17:01:45 -0700
commitce8006db5ef53f32d0ce0d4f65f5537b3fb320ee (patch)
tree57d5c8d4c92878a8cd6857519ed90f5bc88ef139 /kernel/compat.c
parent1827824d541eef3899122e9040e0662042d935d1 (diff)
ARM: tegra: power: Apply down delay to balancing CPUs
On Tegra3 secondary G-CPU may be turned off by auto-hotplug governor in two cases: when overall CPU load is low enough to justify transition to LP CPU, or when CPU cores usage by the scheduler is unbalanced (skewed). In the former case down delay (currently 2sec) was inserted before the core is turned Off. In the latter case the up delay (100ms) was used, i.e., the same delay applied to balancing cores regardless of the On/Off direction. This commit would apply down delay when turning core Off in both cases above, and keep using up delay only for turning core On. Change-Id: I3ac01c4df833eaf020966d561ec4b9802e25b529 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/99737 Tested-by: Jay Cheng <jacheng@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions