Re: [DISCUSSION] x86: In-Kernel Use of Extended General-Purpose Registers

From: Chang S. Bae
Date: Mon Dec 01 2025 - 16:40:50 EST


On 11/26/2025 8:30 AM, Peter Zijlstra wrote:

IIRC it isn't hard to make kernel_fpu_begin/end() preemptible. It came
up with the last xsave rework -- mostly in the context of -rt, but
nobody ever picked it up and did it.

Thanks for looking at this! Looks like I couldn't spot on that exact thread though, I suppose another XSAVE buffer to do so. In any case, I'd bring up this option in a slide deck, as something worth revisiting.

Thanks,
Chang