diff options
author | Nick Piggin <npiggin@suse.de> | 2009-02-19 07:07:41 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-11 17:10:13 +1100 |
commit | 16962e7ce1dce29e1e92d231ac7d6844d7385d54 (patch) | |
tree | d98049fbd5b4f98218015bfd916e957bc94a2836 /lib/bcd.c | |
parent | e14eee56c2280953c6e3d24d5dce42bd90836b81 (diff) |
powerpc: Estimate G5 cpufreq transition latency
Setting G5's cpu frequency transition latency to CPUFREQ_ETERNAL stops
ondemand governor from working. I measured the latency using sched_clock
and haven't seen much higher than 11000ns, so I set this to 12000ns for
my configuration. Possibly other configurations will be different?
Ideally the generic code would be able to measure it in case the platform
does not provide it.
But this simple patch at least makes it throttle again.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions