• Ingo Molnar's avatar
    x86/fpu: Remove task_disable_lazy_fpu_restore() · eb6a3251
    Ingo Molnar authored
    Replace task_disable_lazy_fpu_restore() with easier to read
    open-coded uses: we already update the fpu->last_cpu field
    explicitly in other cases.
    
    (This also removes yet another task_struct using FPU method.)
    
    Better explain the fpu::last_cpu field in the structure definition.
    Reviewed-by: default avatarBorislav Petkov <bp@alien8.de>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    eb6a3251
fpu-internal.h 14.6 KB