diff options
| author | xiongxin <[email protected]> | 2023-04-07 02:47:59 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-01 11:54:00 +0000 |
| commit | 2fa00769b1e4bcf20cf0c967cb45f0cd1cea2b5c (patch) | |
| tree | 24441b291087dcd60efc26eff5aff09278ea5dd2 /tools/perf/scripts/python/sched-migration.py | |
| parent | powercap: arm_scmi: Remove recursion while parsing zones (diff) | |
| download | kernel-2fa00769b1e4bcf20cf0c967cb45f0cd1cea2b5c.tar.gz kernel-2fa00769b1e4bcf20cf0c967cb45f0cd1cea2b5c.zip | |
powercap: intel_rapl: Optimize rp->domains memory allocation
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 <[email protected]>
Tested-by: xiongxin <[email protected]>
Reviewed-by: Srinivas Pandruvada<[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
