Messages in this thread |  | | From | Lai Jiangshan <> | Date | Fri, 22 Oct 2021 10:11:01 +0800 | Subject | Re: [PATCH 2/4] KVM: X86: Cache CR3 in prev_roots when PCID is disabled |
| |
On Fri, Oct 22, 2021 at 1:43 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> > * If CR4.PCIDE is changed 1 -> 0, the guest TLB must be flushed. > * If CR4.PCIDE is changed 0 -> 1, there is no need to flush the TLB > * according to the SDM; however, stale prev_roots could be reused > * reused incorrectly by MOV to CR3 with NOFLUSH=1, so we free them > * all. KVM_REQ_MMU_RELOAD is fit for the both cases; it > * is slow, but changing CR4.PCIDE is a rare case. >
There is a double "reused" separated by "\".
> > > Can you confirm the above comments are accurate? >
Yes, they are better and consistent with what I meant, only one redundant "reused" in the comments.
thanks Lai
|  |