aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2019-03-12 18:33:49 +0100
committerMarc Zyngier <[email protected]>2019-04-29 15:45:01 +0100
commit12eade123e502ecaa3bf980eaa155201b9093a95 (patch)
tree6310174a0048b773ac6741c99783866a17b8860b /tools/perf/scripts/python/export-to-sqlite.py
parent1c73fac50d83274ebc221bc8d42b6477b3c82405 (diff)
irqchip/gic-v3-its: Make free_lpi_range a little cheaper
Using list_add + list_sort to insert an element and keeping the list sorted is a somewhat blunt instrument; one can find the right place to insert in fewer lines of code than the cmp callback uses. Moreover, walking the entire list afterwards to merge adjacent ranges is overkill, since we know that only the just-inserted element may be merged with its neighbours. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions