Messages in this thread | | | Date | Mon, 2 May 2022 15:57:56 +0200 | From | Borislav Petkov <> | Subject | Re: [patch 2/3] x86/fpu: Rename irq_fpu_usable() |
| |
On Sun, May 01, 2022 at 09:31:45PM +0200, Thomas Gleixner wrote: > --- a/arch/x86/kernel/fpu/core.c > +++ b/arch/x86/kernel/fpu/core.c > @@ -49,11 +49,12 @@ static DEFINE_PER_CPU(bool, in_kernel_fp > */ > DEFINE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); > > -/* > - * Can we use the FPU in kernel mode with the > - * whole "kernel_fpu_begin/end()" sequence? > +/** > + * kernel_fpu_usable - Check whether kernel FPU usage is possible > + * > + * Has to be invoked before calling kernel_fpu_begin(). > */
Ah, there it is.
Reviewed-by: Borislav Petkov <bp@suse.de>
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |