diff options
author | 2024-07-05 10:31:54 +0100 | |
---|---|---|
committer | 2024-07-15 15:13:55 +0200 | |
commit | f0eb154c39471bf881422e8ac23e4c037289ece9 (patch) | |
tree | 0254a6f8a3f3da10bb494d01566f4cfae28d5e68 /rust/helpers/build_bug.c | |
parent | irqchip/gic-v4: Always configure affinity on VPE activation (diff) | |
download | wireguard-linux-f0eb154c39471bf881422e8ac23e4c037289ece9.tar.xz wireguard-linux-f0eb154c39471bf881422e8ac23e4c037289ece9.zip |
irqchip/gic-v4: Substitute vmovp_lock for a per-VM lock
vmovp_lock is abused in a number of cases to serialise updates
to vlpi_count[] and deal with map/unmap of a VM to ITSs.
Instead, provide a per-VM lock and revisit the use of vlpi_count[]
so that it is always wrapped in this per-VM vmapp_lock.
This reduces the potential contention on a concurrent VMOVP command,
and paves the way for subsequent VPE locking that holding vmovp_lock
actively prevents due to the lock ordering.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Nianyao Tang <tangnianyao@huawei.com>
Link: https://lore.kernel.org/r/20240705093155.871070-3-maz@kernel.org
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions