[patch 23/23] dynticks: decrease I8042_POLL_PERIOD
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Fri, 29 Sep 2006 23:58:43 -0000
From: Ingo Molnar <mingo@xxxxxxx>
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 <mingo@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 23/23] dynticks: decrease I8042_POLL_PERIOD
- From: Andrew Morton
- Re: [patch 23/23] dynticks: decrease I8042_POLL_PERIOD
- References:
- [patch 00/23]
- From: Thomas Gleixner
- [patch 00/23]
- Prev by Date: [patch 11/23] hrtimers: state tracking
- Next by Date: [patch 14/23] clockevents: drivers for i386
- Previous by thread: Re: [patch 11/23] hrtimers: state tracking
- Next by thread: Re: [patch 23/23] dynticks: decrease I8042_POLL_PERIOD
- Index(es):