Skip to content

x86/fpu: remove lazy FPU mode & various FPU cleanups

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86/crypto: Remove X86_FEATURE_EAGER_FPU ifdef from the crc32c codearch/x86/crypto/crc32c-intel_glue.c+0 -51 reply
2/9x86/fpu: Hard-disable lazy fpu modearch/x86/include/asm/cpufeatures.h arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/init.c+5 -905 replies
3/9x86/fpu: Remove the XFEATURE_MASK_EAGER/LAZY distinctionarch/x86/include/asm/fpu/xstate.h+5 -90 replies
4/9x86/fpu: Remove use_eager_fpu()arch/x86/crypto/crc32c-intel_glue.c arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/core.c +4 more+14 -1060 replies
5/9x86/fpu: remove fpu.counterarch/x86/include/asm/fpu/internal.h arch/x86/include/asm/fpu/types.h arch/x86/include/asm/trace/fpu.h +1 more+1 -211 reply
6/9x86/fpu,kvm: remove kvm vcpu->fpu_counterarch/x86/kvm/x86.c include/linux/kvm_host.h+1 -40 replies
7/9x86/fpu: rename lazy restore functions to "register state valid"arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/core.c arch/x86/kernel/smpboot.c+23 -91 reply
8/9x86/fpu: remove __fpregs_(de)activatearch/x86/include/asm/fpu/internal.h+7 -181 reply
9/9x86/fpu: split old & new fpu code pathsarch/x86/include/asm/fpu/internal.h+8 -140 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchAndy Lutomirski
1/9
2/9
3/9
4/9
5/9R-b
6/9
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] x86/fpu: remove lazy FPU mode & various FPU cleanups

This series removes lazy FPU mode, and cleans up various bits and pieces around the FPU code.

I have run this through a basic floating point test that involves about 1.5 billion context switches and 45 minutes of swapping at 250MB/second.

This seems to tease out bugs fairly well, though I would not mind an actual floating point test suite...