[PATCH v2] eal/x86: cache queried CPU flags
David Marchand
david.marchand at redhat.com
Mon Oct 14 20:29:43 CEST 2024
On Fri, Oct 11, 2024 at 3:37 PM Konstantin Ananyev
<konstantin.ananyev at huawei.com> wrote:
> > Rather than re-querying the HW each time a CPU flag is requested, we can
> > just save the return value in the flags array. This should speed up
> > repeated querying of CPU flags, and provides a workaround for a reported
> > issue where errors are seen with constant querying of the AVX-512 CPU
> > flag from a non-AVX VM.
> >
> > Bugzilla ID: 1501
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
Applied, thanks Bruce.
--
David Marchand
More information about the dev
mailing list