]> err.no Git - linux-2.6/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)
commit33979734cd35ae0624337cdbc529921e4350d96f
tree7ad765559cf485247591160bad7e704a000a439b
parentc32e066057fe0914da262c94e52cefb142f965b4
[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