Thread (19 messages) 19 messages, 5 authors, 2026-08-17

Re: [PATCH 0/6] x86: add missing vzeroupper instructions

flat view

From: Christoph Hellwig <hch@infradead.org>
Date: 2026-08-17 09:15:22
Also in: linux-crypto, lkml, netfilter-devel

On Sun, Aug 16, 2026 at 10:31:59AM -0700, Eric Biggers wrote:
As for kernel_fpu_begin(), no, it doesn't do vzeroupper.

I do think that some years down the line, we'll drop the use of SSE in
the kernel entirely.  At that point, vzeroupper in kernel_fpu_end()
would make sense.
Or add kernel_avx_{begin,end} wrappers that include the vzeroupper
in kernel_avx_end.  That would be a lot easier to use than the manual
vzeroupper in every modern user of in-kernel AVX.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help