OSDN Git Service

KVM: arm64: Add fast path to handle permission relaxation during dirty logging
authorJing Zhang <jingzhangos@google.com>
Tue, 18 Jan 2022 01:57:02 +0000 (01:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 14:27:53 +0000 (14:27 +0000)
commitf783ef1c0e82e4fc311a972472ff61f6d1d0e22d
treee8ac9502306803791cb891285006752d6ca1254d
parentfcc5bf89635a05e627cdd2e9ec52c989c8dfe2ab
KVM: arm64: Add fast path to handle permission relaxation during dirty logging

To reduce MMU lock contention during dirty logging, all permission
relaxation operations would be performed under read lock.

Signed-off-by: Jing Zhang <jingzhangos@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220118015703.3630552-3-jingzhangos@google.com
arch/arm64/kvm/mmu.c