Re: [RFC PATCH v2] x86/fpu: make kernel-mode FPU reliably usable in softirqs

From: Peter Zijlstra
Date: Thu Mar 06 2025 - 07:10:13 EST


On Wed, Mar 05, 2025 at 10:07:45AM +0100, Ingo Molnar wrote:
> > From: Eric Biggers <ebiggers@xxxxxxxxxx>

> > Alternatives considered:
> >
> > - Make kernel-mode FPU sections fully preemptible. This would require
> > growing task_struct by another struct fpstate which is more than 2K.
>
> So that's something that will probably happen once the kernel is built
> using APX anyway?

ISTR looking into this at some point for RT. I also have vague memories
of other architectures doing something similar, but its all a long time
ago.