• Ingo Molnar's avatar
    x86/fpu: Optimize fpu__activate_fpstate_read() · 9ba6b791
    Ingo Molnar authored
    fpu__activate_fpstate_read() is used before FPU registers are
    read from the fpstate by ptrace and core dumping.
    
    It's not necessary to unlazy non-current child tasks in this case,
    since the reading of registers is non-destructive.
    
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Bobby Powers <bobbypowers@gmail.com>
    Cc: Borislav Petkov <bp@alien8.de>
    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: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    9ba6b791
core.c 12.7 KB