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)
commit891f7d73ea30f925596b90bcf21020bfc5d90f3f
treeee2cf87038f657ead8e6df62acaa47f9805f0215
parent63cd885426872254e82dac2d9e13ea4f720c21dc
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