mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
46bcfad7a8
This patch makes the cpuidle_states structure global (single copy) instead of per-cpu. The statistics needed on per-cpu basis by the governor are kept per-cpu. This simplifies the cpuidle subsystem as state registration is done by single cpu only. Having single copy of cpuidle_states saves memory. Rare case of asymmetric C-states can be handled within the cpuidle driver and architectures such as POWER do not have asymmetric C-states. Having single/global registration of all the idle states, dynamic C-state transitions on x86 are handled by the boot cpu. Here, the boot cpu would disable all the devices, re-populate the states and later enable all the devices, irrespective of the cpu that would receive the notification first. Reference: https://lkml.org/lkml/2011/4/25/83 Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com> Tested-by: Jean Pihet <j-pihet@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Acked-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
include/mach | ||
addr-map.c | ||
common.c | ||
common.h | ||
cpuidle.c | ||
d2net_v2-setup.c | ||
db88f6281-bp-setup.c | ||
dockstar-setup.c | ||
guruplug-setup.c | ||
irq.c | ||
Kconfig | ||
lacie_v2-common.c | ||
lacie_v2-common.h | ||
Makefile | ||
Makefile.boot | ||
mpp.c | ||
mpp.h | ||
mv88f6281gtw_ge-setup.c | ||
netspace_v2-setup.c | ||
netxbig_v2-setup.c | ||
openrd-setup.c | ||
pcie.c | ||
rd88f6192-nas-setup.c | ||
rd88f6281-setup.c | ||
sheevaplug-setup.c | ||
t5325-setup.c | ||
ts41x-setup.c | ||
ts219-setup.c | ||
tsx1x-common.c | ||
tsx1x-common.h |