Commit b47657d6 authored by Will Deacon's avatar Will Deacon Committed by Fuad Tabba
Browse files

ANDROID: KVM: arm64: Introduce hyp_rwlock_t



Introduce a simple counter-based rwlock for EL2 which can reduce locking
contention on read-mostly data structures when compared to a spinlock.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
Bug: 278749606
Change-Id: If2a6f5b5a10999c8d4e8b36b86157b6c9de4b0d5
parent e718e360
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment