summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2019-03-12 18:33:49 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-04-29 15:45:01 +0100
commit12eade123e502ecaa3bf980eaa155201b9093a95 (patch)
tree6310174a0048b773ac6741c99783866a17b8860b /tools/perf/scripts/python
parent1c73fac50d83274ebc221bc8d42b6477b3c82405 (diff)
downloadkernel-12eade123e502ecaa3bf980eaa155201b9093a95.tar.gz
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 <linux@rasmusvillemoes.dk> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
/pin-init/src/lib.rs?h=linux-6.19.y&id=31547c988257b3ddd1badb23c166c42b5310735c'>rust: pin-init: remove kernel-crate dependencyBenno Lossin 2025-03-16rust: pin-init: fix documentation linksBenno Lossin 2025-03-16rust: add `ZeroableOption` and implement it instead of `Zeroable` for `Option...Benno Lossin 2025-03-16rust: pin-init: move impl `Zeroable` for `Opaque` and `Option<KBox<T>>` into ...Benno Lossin 2025-03-16rust: pin-init: move `InPlaceInit` and impls of `InPlaceWrite` into the kerne...Benno Lossin 2025-03-16rust: pin-init: move the default error behavior of `try_[pin_]init`Benno Lossin 2025-03-16rust: pin-init: call `try_[pin_]init!` from `[pin_]init!` instead of `__init_...Benno Lossin 2025-03-16rust: pin-init: change examples to the user-space versionBenno Lossin 2025-03-16rust: pin-init: move proc-macro documentation into pin-init crateBenno Lossin 2025-03-16rust: add extensions to the pin-init crate and move relevant documentation thereBenno Lossin 2025-03-16rust: move pin-init API into its own directoryBenno Lossin