diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-02-21 08:42:44 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-24 00:46:01 +0300 |
commit | 1d6f83f60f79ff0118823d904dc1f04ba89f9428 (patch) | |
tree | fbdc3db196a8eee199653b7247070d651e319056 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | linux-1d6f83f60f79ff0118823d904dc1f04ba89f9428.tar.xz |
KVM: arm64: vgic: Store LPIs in an xarray
Using a linked-list for LPIs is less than ideal as it of course requires
iterative searches to find a particular entry. An xarray is a better
data structure for this use case, as it provides faster searches and can
still handle a potentially sparse range of INTID allocations.
Start by storing LPIs in an xarray, punting usage of the xarray to a
subsequent change. The observant among you will notice that we added yet
another lock to the chain of locking order rules; document the ordering
of the xa_lock. Don't worry, we'll get rid of the lpi_list_lock one
day...
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240221054253.3848076-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions