lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 17 Oct 2007 15:38:39 -0400
From:	Dave Jones <davej@...hat.com>
To:	Arjan van de Ven <arjan@...radead.org>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	Antonino Daplas <adaplas@...il.com>
Subject: Re: reduce frequency of cursor blinking

On Tue, Oct 16, 2007 at 11:30:37AM -0700, Arjan van de Ven wrote:
 > On Tue, 16 Oct 2007 14:19:11 -0400
 > Dave Jones <davej@...hat.com> wrote:
 > 
 > > Depending on CONFIG_HZ, we blink the cursor at 20,50,60 or 200Hz.
 > 
 > eh no, that's 5 times per second ...

Indeed. Still seems excessive though.
How about twice per second ?

Signed-off-by: Dave Jones <davej@...hat.com>

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 73813c6..7d9bae5 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -433,7 +433,7 @@ static void cursor_timer_handler(unsigned long dev_addr)
 	struct fbcon_ops *ops = info->fbcon_par;
 
 	schedule_work(&info->queue);
-	mod_timer(&ops->cursor_timer, jiffies + HZ/5);
+	mod_timer(&ops->cursor_timer, jiffies + HZ/2);
 }
 
 static void fbcon_add_cursor_timer(struct fb_info *info)
-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ