Re: [PATCH v2] eal/x86: cache queried CPU flags

2024-10-14 Thread David Marchand
On Fri, Oct 11, 2024 at 3:37 PM Konstantin Ananyev 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 wher

RE: [PATCH v2] eal/x86: cache queried CPU flags

2024-10-11 Thread Konstantin Ananyev
> 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 > fl

[PATCH v2] eal/x86: cache queried CPU flags

2024-10-11 Thread Bruce Richardson
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