From: Ingo Molnar <[email protected]>
decrease the rate of timers going off. Also work around apparent
kbd-init bug by making the first timeout short.
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
--
drivers/input/serio/i8042.c | 2 +-
drivers/input/serio/i8042.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.18-mm2/drivers/input/serio/i8042.c
===================================================================
--- linux-2.6.18-mm2.orig/drivers/input/serio/i8042.c 2006-09-30 01:41:08.000000000 +0200
+++ linux-2.6.18-mm2/drivers/input/serio/i8042.c 2006-09-30 01:41:20.000000000 +0200
@@ -1101,7 +1101,7 @@ static int __devinit i8042_probe(struct
goto err_controller_cleanup;
}
- mod_timer(&i8042_timer, jiffies + I8042_POLL_PERIOD);
+ mod_timer(&i8042_timer, jiffies + 2); //I8042_POLL_PERIOD);
return 0;
err_unregister_ports:
Index: linux-2.6.18-mm2/drivers/input/serio/i8042.h
===================================================================
--- linux-2.6.18-mm2.orig/drivers/input/serio/i8042.h 2006-09-30 01:41:08.000000000 +0200
+++ linux-2.6.18-mm2/drivers/input/serio/i8042.h 2006-09-30 01:41:20.000000000 +0200
@@ -43,7 +43,7 @@
* polling.
*/
-#define I8042_POLL_PERIOD HZ/20
+#define I8042_POLL_PERIOD (10*HZ)
/*
* Status register bits.
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]