From: Will Schmidt Date: Tue, 17 Apr 2007 14:44:46 +0000 (+1000) Subject: [POWERPC] hvc_console: Polling mode timer backoff X-Git-Tag: v2.6.22-rc1~1109^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b791072ba3c3b29bab1890963bde52eb944a8451;p=pandora-kernel.git [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 Signed-off-by: Michael Ellerman Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed