mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
2fa00769b1
In the memory allocation of rp->domains in rapl_detect_domains(), there is an additional memory of struct rapl_domain allocated, optimize the code here to save sizeof(struct rapl_domain) bytes of memory. Test in Intel NUC (i5-1135G7). Signed-off-by: xiongxin <xiongxin@kylinos.cn> Tested-by: xiongxin <xiongxin@kylinos.cn> Reviewed-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
arm_scmi_powercap.c | ||
dtpm_cpu.c | ||
dtpm_devfreq.c | ||
dtpm_subsys.h | ||
dtpm.c | ||
idle_inject.c | ||
intel_rapl_common.c | ||
intel_rapl_msr.c | ||
intel_rapl_tpmi.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |