aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-10-11 00:15:22 +0200
committerRafael J. Wysocki <[email protected]>2024-10-23 11:57:04 +0200
commitc690dce5dceef1d2818c52f3df2d3511f028632f (patch)
tree6aa1c4d1784ba3eda551eef83cb58cb9bb177be3 /tools/perf/scripts/python/parallel-perf.py
parent6d153f52cc3452258415db6a202cc6d15daa3920 (diff)
thermal: core: Introduce thermal_instance_delete()
It is not necessary to walk the thermal_instances list in a trip descriptor under a cooling device lock, so acquire that lock only for deleting the given thermal instance from the list of thermal instances in the given cdev. Moreover, in analogy with the previous change that introduced thermal_instance_add(), put the code deleting the given thermal instance from the lists it is on into a separate new function called thermal_instance_delete(). No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Lukasz Luba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions