diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-09-21 17:04:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 07:17:45 -0700 |
commit | 672917dcc781ead7652a8b11b1fba14e38ac15b8 (patch) | |
tree | c504b7f60737ba8d82eabfa662585d463ae5ea66 /crypto/compress.c | |
parent | 69d25870f20c4b2563304f2b79c5300dd60a067e (diff) | |
download | linux-672917dcc781ead7652a8b11b1fba14e38ac15b8.tar.gz linux-672917dcc781ead7652a8b11b1fba14e38ac15b8.tar.bz2 linux-672917dcc781ead7652a8b11b1fba14e38ac15b8.zip |
cpuidle: menu governor: reduce latency on exit
Move the state residency accounting and statistics computation off the hot
exit path.
On exit, the need to recompute statistics is recorded, and new statistics
will be computed when menu_select is called again.
The expected effect is to reduce processor wakeup latency from sleep
(C-states). We are speaking of few hundreds of cycles reduction out of a
several microseconds latency (determined by the hardware transition), so
it is difficult to measure.
Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Adam Belay <abelay@novell.com
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/compress.c')
0 files changed, 0 insertions, 0 deletions