On Fri, Sep 24, 2021 at 7:55 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > On each context switch we save the FPU registers on stack > of old process and restore FPU registers from the stack of new one. > That allows us to avoid doing that each time we enter/leave the > kernel mode; however, that can get suboptimal in some cases. Do you actually have a system or virtual image to test this all out on? I'm not saying this doesn't look like an improvement, I'm more questioning whether it's worth it... Linus