summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2011-08-12 03:11:37 +0400
committerDominik Brodowski <linux@dominikbrodowski.net>2011-08-15 22:03:10 +0400
commit7c74d2bc5a9d43d33d6f16c1e706147162e2bc52 (patch)
treef9a3578dca29ca782df483d9cdc8f5bc376d5ef2 /fs/jbd2
parent88f984e0e235f82a5d34f4a99244eeb14e1413e0 (diff)
downloadlinux-7c74d2bc5a9d43d33d6f16c1e706147162e2bc52.tar.xz
cpupower: Better detect offlined CPUs
Before, checking for offlined CPUs was done dirty and it was checked whether topology parsing returned -1 values. But this is a valid case on a Xen (and possibly other) kernels. Do proper online/offline checking, also take CONFIG_HOTPLUG_CPU option into account (no /sys/devices/../cpuX/online file). Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions