diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2023-12-20 23:17:49 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-29 18:01:00 +0100 |
commit | 912e97c67cc3f333c4c5df8f51498c651792e658 (patch) | |
tree | 5fcd49493f484f5ae748da6ac69d44676da4cace /scripts/gdb/linux/proc.py | |
parent | 792c3dc08ddcf29a514156bb72b3d2ad4998c69f (diff) |
thermal: gov_power_allocator: Move memory allocation out of throttle()
The new thermal callback allows to react to the change of cooling
instances in the thermal zone. Move the memory allocation to that new
callback and save CPU cycles in the throttle() code path.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions