]> git.baikalelectronics.ru Git - kernel.git/commit
hpilo: reduce frequency of IO operations
authorDavid Altobelli <david.altobelli@hp.com>
Tue, 31 Mar 2009 22:23:53 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:18 +0000 (08:59 -0700)
commit07bb820c98a94ab89532554e28116bb11b4e866a
treeee2cf87038f657ead8e6df62acaa47f9805f0215
parent3666e946a28b96fe2e52fbc547a39f00af942f16
hpilo: reduce frequency of IO operations

Change hpilo open and close logic to spin for 10usec between checking device,
rather than every usec.

Because the loop is coded to take up to 10ms, it seemed prudent to
increase the interval between polling the device, to reduce the load on
the system and allow more other work to happen.

Signed-off-by: David Altobelli <david.altobelli@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/hpilo.c
drivers/misc/hpilo.h