Skip to content
Commit b31a3838 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Marc Zyngier
Browse files

irqchip/gic-v3-its: Move allocation outside mutex



There's no reason to do the allocation of the new lpi_range inside the
lpi_range_lock. One could change the code to avoid the allocation
altogether in case the freed range can be merged with one or two
existing ranges (in which case the allocation would naturally be done
under the lock), but it's probably not worth complicating the code for
that.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent cfbf9e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment