Messages in this thread | | | From | Mingwei Zhang <> | Date | Mon, 2 Aug 2021 09:00:29 -0700 | Subject | Re: [PATCH] KVM: SEV: improve the code readability for ASID management |
| |
Right, it does not fix any bugs but improves readability. I will remove this primitive.
On Mon, Aug 2, 2021 at 6:38 AM Joerg Roedel <joro@8bytes.org> wrote: > > On Fri, Jul 30, 2021 at 06:13:04PM -0700, Mingwei Zhang wrote: > > Fix the min_asid usage: ensure that its usage is consistent with its name; > > adjust its value before using it as a bitmap position. Add comments on ASID > > bitmap allocation to clarify the skipping-ASID-0 property. > > > > Fixes: 80675b3ad45f (KVM: SVM: Update ASID allocation to support SEV-ES guests) > > This looks more like an optimization to me, or does this fix any real > bug? >
| |