• I
    x86/fpu: Change fpu_owner_task to fpu_fpregs_owner_ctx · 36b544dc
    Ingo Molnar 提交于
    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: NBorislav 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: NIngo Molnar <mingo@kernel.org>
    36b544dc
core.c 16.6 KB