summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fpu/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:06 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:26 +0200
commit509e7a30cd0a9f38abac4114832d9f69ff0d73b4 (patch)
treecfb0831d84c0415ac9fe81dff5589f1c43937631 /arch/x86/include/asm/fpu/internal.h
parent2d16a1876f20218f8970ea4b7f679cead1cdb510 (diff)
downloadlinux-509e7a30cd0a9f38abac4114832d9f69ff0d73b4.tar.gz
linux-509e7a30cd0a9f38abac4114832d9f69ff0d73b4.tar.bz2
linux-509e7a30cd0a9f38abac4114832d9f69ff0d73b4.zip
x86/fpu: Do not inherit FPU context for kernel and IO worker threads
There is no reason why kernel and IO worker threads need a full clone of the parent's FPU state. Both are kernel threads which are not supposed to use FPU. So copying a large state or doing XSAVE() is pointless. Just clean out the minimally required state for those tasks. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011538.839822981@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
0 files changed, 0 insertions, 0 deletions