• Ingo Molnar's avatar
    x86/fpu: Change fpu_owner_task to fpu_fpregs_owner_ctx · 36b544dc
    Ingo Molnar authored
    Track the FPU owner context instead of the owner task: this change,
    together with other changes, will allow in subsequent patches the
    elimination of 'struct task_struct' usage in various FPU code:
    we'll be able to use 'struct fpu' only.
    
    There's no change in code size:
    
          text           data     bss      dec            hex filename
      13066467        2545248 1626112 17237827        1070743 vmlinux.before
      13066467        2545248 1626112 17237827        1070743 vmlinux.after
    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>
    36b544dc
fpu-internal.h 14.9 KB