Re: [PATCH 6/6] netfilter: nft_set_pipapo_avx2: add missing vzeroupper

Stefano Brivio <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.raid,gmane.linux.kernel.cryptoapi,gmane.comp.security.firewalls.netfilter.devel,gmane.linux.kernel.stable
Organization Red Hat
Message-ID <20260817131749.6e1408bb@elisabeth>
On Sat, 15 Aug 2026 13:57:50 -0700
Eric Biggers <[email protected]> wrote:

> Since pipapo_get_avx2() uses YMM registers, execute vzeroupper before
> returning from it.  This is needed to avoid degrading the performance of
> any later SSE code that may happen to be executed.
> 
> Fixes: 7400b063969b ("nft_set_pipapo: Introduce AVX2-based lookup implementation")
> Cc: [email protected]
> Cc: Florian Westphal <[email protected]>
> Cc: Stefano Brivio <[email protected]>
> Signed-off-by: Eric Biggers <[email protected]>

Reviewed-by: Stefano Brivio <[email protected]>

-- 
Stefano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.