svn commit: r247792 - head/sys/dev/syscons

Alexander Motin mav at FreeBSD.org
Mon Mar 4 14:55:56 UTC 2013


On 04.03.2013 16:42, Luigi Rizzo wrote:
> On Mon, Mar 04, 2013 at 02:00:59PM +0000, Davide Italiano wrote:
>> Author: davide
>> Date: Mon Mar  4 14:00:58 2013
>> New Revision: 247792
>> URL: http://svnweb.freebsd.org/changeset/base/247792
>>
>> Log:
>>   MFcalloutng (r244249, r244306 by mav):
>>   - Switch syscons from timeout() to callout_reset_flags() and specify that
>>   precision is not important there -- anything from 20 to 30Hz will be fine.
>>   - Reduce syscons "refresh" rate to 1-2Hz when console is in graphics mode
>>   and there is nothing to do except some polling for keyboard.  Text mode
> 
> just to understand, how does this 1-2Hz affect the respose to keypresses ?
> does it mean it takes 0.5..1s to see the keypress ?

No, it is a polling for keyboard presence, and its rate already limited
to 1Hz by comparing kbd_time_stamp to time_uptime there.

-- 
Alexander Motin


More information about the svn-src-all mailing list