summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-02-21 06:42:53 +0100
committerOliver Upton <oliver.upton@linux.dev>2024-02-23 22:46:02 +0100
commite27f2d561fee873d415697e6e5e3ec78efc9c259 (patch)
treed5a5a60fa10c354122bc3469c48f9bdfec363d6a /arch/xtensa/kernel
parentKVM: arm64: vgic: Ensure the irq refcount is nonzero when taking a ref (diff)
downloadlinux-e27f2d561fee873d415697e6e5e3ec78efc9c259.tar.xz
linux-e27f2d561fee873d415697e6e5e3ec78efc9c259.zip
KVM: arm64: vgic: Don't acquire the lpi_list_lock in vgic_put_irq()
The LPI xarray's xa_lock is sufficient for synchronizing writers when freeing a given LPI. Furthermore, readers can only take a new reference on an IRQ if it was already nonzero. Stop taking the lpi_list_lock unnecessarily and get rid of __vgic_put_lpi_locked(). Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240221054253.3848076-11-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/xtensa/kernel')
0 files changed, 0 insertions, 0 deletions