diff options
| author | Christoffer Dall <[email protected]> | 2018-01-26 15:20:22 +0000 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2018-01-31 09:10:49 +0000 |
| commit | cd15d2050c044ca9525ba165e9073ac8e036b8d0 (patch) | |
| tree | 1d5c9e38c4a3c7cd05ee21ee9544103a1371c919 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | KVM: arm/arm64: Fix userspace_irqchip_in_use counting (diff) | |
| download | kernel-cd15d2050c044ca9525ba165e9073ac8e036b8d0.tar.gz kernel-cd15d2050c044ca9525ba165e9073ac8e036b8d0.zip | |
KVM: arm/arm64: Fixup userspace irqchip static key optimization
When I introduced a static key to avoid work in the critical path for
userspace irqchips which is very rarely used, I accidentally messed up
my logic and used && where I should have used ||, because the point was
to short-circuit the evaluation in case userspace irqchips weren't even
in use.
This fixes an issue when running in-kernel irqchip VMs alongside
userspace irqchip VMs.
Acked-by: Marc Zyngier <[email protected]>
Fixes: c44c232ee2d3 ("KVM: arm/arm64: Avoid work when userspace iqchips are not used")
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
