]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: set schedule_timeout_wait() value back to one
authorMartin Wilck <martin.wilck@ts.fujitsu.com>
Tue, 29 Jun 2010 22:05:31 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2010 22:29:31 +0000 (15:29 -0700)
commitc9e005720e58685c6bc8379ef19bc59a87be7da8
tree0876484c740e90568f9f0300f012e674622679c9
parent56c7bf8a4a6061f731b3f7bfa932348ddbc32ce2
ipmi: set schedule_timeout_wait() value back to one

Fix a regression introduced by 482eac60bbef ("ipmi: add parameter to limit
CPU usage in kipmid").

Some systems were seeing CPU usage go up dramatically with the recent
changes to try to reduce timer usage in the IPMI driver.  This was traced
down to schedule_timeout_interruptible(1) being changed to
schedule_timeout_interruptbile(0).  Revert that part of the change.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=16147

Reported-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Cc: <stable@kernel.org> [2.6.34.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c