]> Git Repo - linux.git/commit
x86/fpu: Change fpu->fpregs_active users to fpu->fpstate_active
authorIngo Molnar <[email protected]>
Sat, 23 Sep 2017 13:00:01 +0000 (15:00 +0200)
committerIngo Molnar <[email protected]>
Sun, 24 Sep 2017 11:04:34 +0000 (13:04 +0200)
commitf1c8cd0176078c7bcafdc89cac447cab672a0b5e
tree639f513e1d6d297d7e839f741791857598ed3b31
parentb6aa85558d7e7b18fc3470d2bc1731d2205dd275
x86/fpu: Change fpu->fpregs_active users to fpu->fpstate_active

We want to simplify the FPU state machine by eliminating fpu->fpregs_active,
and we can do that because the two state flags (::fpregs_active and
::fpstate_active) are set essentially together.

The old lazy FPU switching code used to make a distinction - but there's
no lazy switching code anymore, we always switch in an 'eager' fashion.

Do this by first changing all substantial uses of fpu->fpregs_active
to fpu->fpstate_active and adding a few debug checks to double check
our assumption is correct.

Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yu-cheng Yu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/signal.c
arch/x86/mm/pkeys.c
This page took 0.053755 seconds and 4 git commands to generate.