Skip to content

cleanups to lazy FPU restore code

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86,fpu: move lazy restore functions up a few linesarch/x86/include/asm/fpu-internal.h+18 -180 replies
2/6x86,fpu: introduce task_disable_lazy_fpu_restore helperarch/x86/include/asm/fpu-internal.h+10 -00 replies
3/6x86,fpu: use an explicit if/else in switch_fpu_preparearch/x86/include/asm/fpu-internal.h+3 -20 replies
4/6x86,fpu: use disable_task_lazy_fpu_restore helperarch/x86/include/asm/fpu-internal.h arch/x86/kernel/i387.c arch/x86/kernel/process.c+5 -55 replies
5/6x86,fpu: also check fpu_lazy_restore when use_eager_fpuarch/x86/include/asm/fpu-internal.h+1 -12 replies
6/6x86,fpu: remove redundant increments of fpu_counterarch/x86/include/asm/fpu-internal.h+0 -25 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] cleanups to lazy FPU restore code

These go on top of Oleg's patches.

The mechanism to disable lazy FPU restore is inscrutible in several places, and dubious at best in one.

These patches make things explicit.

They also get rid of some apparently useless or redundant code, and make fpu_lazy_restore work when in eager FPU mode.