[PATCH v2 10/10] KVM: arm/arm64: vgic: Improve sync_hwstate performance

Marc Zyngier marc.zyngier at arm.com
Mon Mar 27 04:04:26 PDT 2017

On 21/03/17 21:10, Christoffer Dall wrote:
> There is no need to call any functions to fold LRs when we don't use any
> LRs and we don't need to mess with overflow flags, take spinlocks, or
> prune the AP list if the AP list is empty.
> Note: list_empty is a single atomic read (uses READ_ONCE) and can
> therefore check if a list is empty or not without the need to take the
> spinlock protecting the list.
> Signed-off-by: Christoffer Dall <cdall at linaro.org>

Reviewed-by: Marc Zyngier <marc.zyngier at arm.com>

Jazz is not dead. It just smells funny...

More information about the linux-arm-kernel mailing list