From owner-svn-src-head@FreeBSD.ORG Mon Mar 4 14:55:56 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8EF10185; Mon, 4 Mar 2013 14:55:56 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2E91E85; Mon, 4 Mar 2013 14:55:55 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id fj20so5008472lab.20 for ; Mon, 04 Mar 2013 06:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=QhxVr1gwG5YTvBgZfD+wIkmOG/6mBzKzbdujFaQk1Ec=; b=BtR6+vdYdLSsBOTEKyHoHQLwKcGmSyOSFWCNozoiP/7S4uQfxtql4+KywKL4q9vK9n 1uBnQnm7c5nJIkx8S6WNFnIEOG1IRusBC0Y45WOA1IVWKi83MmzHkzACBQtdjPOFJyC9 cw3xVMX4maS3xz7e1kvjMBdaxU/IVwz1cFUQaGrQClV5l6dnnLIsfewHuuAA1RfiSxCa cL5fTwFZD3U4MOPX72B71ndn7fIyOTgam6V2aU6mwdykoSTjwf/8cO/nQQV55AQ/A6+Q Z4OPhv3nedI20wpcT11Zsu0tJ6xyM0RGdFoOBk0HRhsLAhM6QKzXfpMPNdnY4Wg9U3FX Q16w== X-Received: by 10.152.46.12 with SMTP id r12mr18210722lam.15.1362408954358; Mon, 04 Mar 2013 06:55:54 -0800 (PST) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id b13sm7388208lbd.10.2013.03.04.06.55.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 06:55:53 -0800 (PST) Sender: Alexander Motin Message-ID: <5134B5F5.7000204@FreeBSD.org> Date: Mon, 04 Mar 2013 16:55:49 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130125 Thunderbird/17.0.2 MIME-Version: 1.0 To: Luigi Rizzo Subject: Re: svn commit: r247792 - head/sys/dev/syscons References: <201303041400.r24E0xOo076175@svn.freebsd.org> <20130304144216.GA63659@onelab2.iet.unipi.it> In-Reply-To: <20130304144216.GA63659@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Davide Italiano , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 14:55:56 -0000 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