aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vc_screen.c
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2007-04-17 10:44:46 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-24 07:31:43 -0400
commitb791072ba3c3b29bab1890963bde52eb944a8451 (patch)
treef0a506318d8ea653057d6f99387c163b526ebeb3 /drivers/char/vc_screen.c
parentb3a6d2a54b8be331b36d849577a716867895ca75 (diff)
[POWERPC] hvc_console: Polling mode timer backoff
Add a back-off mechanism to hvc_console's polling logic. This change drops the timers/second ratio from ~90 to ~1/2 while the console is idle. This change is most noticeable when watching /proc/timer_stats output. This only affects when the hvc_console is running in poll mode, i.e. power4 and cell systems. I've tested on Power4, Michael Ellerman has both contributed to the patch and tested on cell. Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/vc_screen.c')
0 files changed, 0 insertions, 0 deletions