* [PATCH 8/8] ipmi: Change timeout and event poll to one second
@ 2010-05-03 13:38 Corey Minyard
0 siblings, 0 replies; only message in thread
From: Corey Minyard @ 2010-05-03 13:38 UTC (permalink / raw)
To: Linux Kernel, Andrew Morton; +Cc: OpenIPMI Developers, Matthew Garrett
From: Corey Minyard <cminyard@mvista.com>
The timeouts in IPMI are in the 1-5 second range in message handling,
so a 1 second timeout is a reasonable thing to do. This should help
with reducing power consumption on idle systems.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
---
Index: linux-2.6/drivers/char/ipmi/ipmi_msghandler.c
===================================================================
--- linux-2.6.orig/drivers/char/ipmi/ipmi_msghandler.c
+++ linux-2.6/drivers/char/ipmi/ipmi_msghandler.c
@@ -4037,8 +4037,8 @@ static void ipmi_request_event(void)
static struct timer_list ipmi_timer;
-/* Call every ~100 ms. */
-#define IPMI_TIMEOUT_TIME 100
+/* Call every ~1000 ms. */
+#define IPMI_TIMEOUT_TIME 1000
/* How many jiffies does it take to get to the timeout time. */
#define IPMI_TIMEOUT_JIFFIES ((IPMI_TIMEOUT_TIME * HZ) / 1000)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-03 13:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 13:38 [PATCH 8/8] ipmi: Change timeout and event poll to one second Corey Minyard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox