diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2008-08-15 09:40:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-15 17:35:44 +0200 |
commit | bb15e7f286e3ecf3e85e06ad9b0019096e43a613 (patch) | |
tree | 88fd7cb042f3477699cb05c780518dc7dc1ed5a5 /Documentation/prctl | |
parent | ibmaem: prevent infinite probing loop on x3650 M2 systems (diff) | |
download | linux-bb15e7f286e3ecf3e85e06ad9b0019096e43a613.tar.xz linux-bb15e7f286e3ecf3e85e06ad9b0019096e43a613.zip |
ibmaem: don't query the entire sensor repository when reading energy meter
Currently, all sensors are read when the energy meter is queried via
sysfs. This introduces a considerable amount of delay and variation in
the sysfs reading, which is not desirable when trying to profile energy
use. Therefore, read only the energy meters when a sysfs query comes in
for them, and don't cache the results so that we always get the latest
reading.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/prctl')
0 files changed, 0 insertions, 0 deletions