[PATCH] KVM: arm64: Remove redundant check for S2FWB

Marc Zyngier maz at kernel.org
Fri Feb 5 12:24:06 EST 2021


Hi Jing,

On 2021-02-05 04:44, Jing Zhang wrote:
> Remove redundant check for CPU feature S2FWB in dcache flush code
> to save some CPU cycles for every memslot flush and unmapping.

What CPU cycles? This is only a static branch. Can you actually
measure the overhead? What does it represent in the face of
a full memslot unmapping?

Thanks,

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



More information about the linux-arm-kernel mailing list