diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-09-21 20:04:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:45 -0400 |
commit | 672917dcc781ead7652a8b11b1fba14e38ac15b8 (patch) | |
tree | c504b7f60737ba8d82eabfa662585d463ae5ea66 /arch/um/include/asm/hardirq.h | |
parent | 69d25870f20c4b2563304f2b79c5300dd60a067e (diff) |
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 'arch/um/include/asm/hardirq.h')
0 files changed, 0 insertions, 0 deletions