]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IPMI: use schedule in kthread
authorakpm@osdl.org <akpm@osdl.org>
Tue, 27 Jun 2006 09:54:04 +0000 (02:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:40 +0000 (17:32 -0700)
commita28f9e058c4b2482b14560a9f3f6243e570ed3ff
tree7ad765559cf485247591160bad7e704a000a439b
parent5866cda14cbb70b626902c0dcc13cb7380b1f2f8
[PATCH] IPMI: use schedule in kthread

Corey Minyard <minyard@acm.org>

The kthread used to speed up polling for IPMI was using udelay in its
busy-wait polling loop when the lower-level state machine told it to do a
short delay.  This just used CPU and didn't help scheduling, thus causing
bad problems with other tasks.  Call schedule() instead.

Signed-off-by: Corey Minyard <minyard@acm.org>
Acked-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_si_intf.c