Corey Minyard
a9a2c44ff0
[PATCH] ipmi: add timer thread
...
We must poll for responses to commands when interrupts aren't in use. The
default poll interval is based on using a kernel timer, which varies with HZ.
For character-based interfaces like KCS and SMIC though, that can be way too
slow (>15 minutes to flash a new firmware with KCS, >20 seconds to retrieve
the sensor list).
This creates a low-priority kernel thread to poll more often. If the state
machine is idle, so is the kernel thread. But if there's an active command,
it polls quite rapidly. This decrease a firmware flash time from 15 minutes
to 1.5 minutes, and the sensor list time to 4.5 seconds, on a Dell PowerEdge
x8x system.
The timer-based polling remains, to ensure some amount of responsiveness even
under high user process CPU load.
Checking for a stopped timer at rmmod now uses atomics and del_timer_sync() to
ensure safe stoppage.
Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:44 -08:00
..
2005-11-07 07:53:41 -08:00
2005-11-01 21:49:07 -08:00
2005-10-28 09:52:52 -07:00
2005-09-10 10:06:38 -07:00
2005-11-07 07:53:44 -08:00
2005-10-30 17:37:32 -08:00
2005-09-10 10:06:22 -07:00
2005-07-27 16:26:08 -07:00
2005-11-07 07:53:36 -08:00
2005-11-01 19:31:59 +01:00
2005-10-18 08:26:15 -07:00
2005-09-13 08:22:29 -07:00
2005-09-10 10:06:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:20 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:57 -07:00
2005-10-28 09:52:52 -07:00
2005-05-01 08:59:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:26 -08:00
2005-09-16 10:38:10 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:10 -08:00
2005-10-30 17:37:31 -08:00
2005-09-14 14:34:17 -07:00
2005-10-24 15:42:12 +10:00
2005-10-24 16:59:13 +10:00
2005-07-07 18:23:40 -07:00
2005-09-10 10:06:38 -07:00
2005-06-25 16:24:25 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 09:52:52 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:00 -07:00
2005-10-28 09:52:52 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:25 -08:00
2005-09-10 12:03:38 -05:00
2005-10-29 19:30:42 +01:00
2005-10-29 19:30:42 +01:00
2005-10-28 09:52:52 -07:00
2005-10-30 17:37:25 -08:00
2005-10-04 09:39:18 -07:00
2005-05-04 07:33:13 -07:00
2005-10-31 13:37:12 +11:00
2005-10-28 09:52:52 -07:00
2005-09-15 17:00:10 -07:00
2005-09-03 16:26:49 +01:00
2005-11-07 07:53:36 -08:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:36 -07:00
2005-10-17 17:03:57 -07:00
2005-10-28 08:16:51 -07:00
2005-11-04 17:26:57 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 09:52:52 -07:00
2005-09-09 13:57:31 -07:00
2005-10-29 19:30:55 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:49:40 -07:00
2005-10-28 09:52:52 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:04 -07:00
2005-10-30 17:37:27 -08:00
2005-04-16 15:20:36 -07:00
2005-09-05 23:33:05 -07:00
2005-10-29 19:07:23 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:20 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-15 14:17:49 -07:00
2005-10-28 21:09:26 -07:00
2005-04-25 13:28:52 -07:00
2005-10-29 19:07:23 +01:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:18 -08:00
2005-10-28 09:52:52 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:26 -08:00
2005-10-30 17:37:26 -08:00
2005-07-26 14:35:43 -07:00
2005-10-29 19:07:23 +01:00
2005-10-28 09:52:52 -07:00
2005-11-01 21:44:46 -08:00
2005-06-25 16:24:24 -07:00
2005-10-30 17:37:19 -08:00
2005-06-28 21:20:34 -07:00
2005-10-28 09:52:52 -07:00
2005-11-02 15:13:57 +11:00
2005-11-02 15:13:57 +11:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:07:23 +01:00
2005-10-29 19:07:23 +01:00
2005-11-07 07:53:39 -08:00
2005-09-15 08:24:09 -07:00