|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v5 02/10] KVM: Use a big lock to replace per-kml slots_lock |
Date: | Mon, 22 Mar 2021 14:54:30 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 22/03/21 11:47, Keqian Zhu wrote:
+ qemu_mutex_init(&kml_slots_lock);As you said, x86 has two address spaces, is it a problem that we may have multi initialization for kml_slots_lock?
Agreed, the lock can be initialized (if only for cleanliness) in kvm_init. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |