x86/fpu: Change fpu_owner_task to fpu_fpregs_owner_ctx
authorIngo Molnar <mingo@kernel.org>
Thu, 23 Apr 2015 10:18:28 +0000 (12:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:23 +0000 (15:47 +0200)
commit36b544dcd3f935bd33ada700d070433a57982771
tree7cd0ee5b86c712bad242a860a10187f1b9338c33
parentb0c050c5ba130c0ccb1b86b64f162a4601d160c7
x86/fpu: Change fpu_owner_task to fpu_fpregs_owner_ctx

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: Borislav 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: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu-internal.h
arch/x86/kernel/fpu/core.c