diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-11-22 21:16:05 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-24 21:58:32 +0100 |
commit | b4005e9278a4e62819fb16ba4bc3430ca650d0ab (patch) | |
tree | c7f6ccc47632a4bb25168f576b9b2e791c72c7df /lib/dynamic_queue_limits.c | |
parent | 58705069204cc8afa0d7b759e81b61147e973de9 (diff) |
powercap/intel_rapl: Track active CPUs internally
The ability of the CPU hotplug code to stop online/offline at each step
makes it necessary to track the activated CPUs in a package directly,
because outerwise a CPU offline callback can find CPUs which have already
executed the offline callback, but are not yet marked offline in the
topology mask. That could make such a CPU the package leader and in case
that CPU goes fully offline leave the package lead orphaned.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions