Re: [osv-dev] [PATCH V2] Reset FPU state after saving it and upon context switch

2019-01-28 Thread Nadav Har'El
Thanks! I just committed your patch. It has to be a record on the number of issues fixed by a single patch :-) -- Nadav Har'El n...@scylladb.com On Tue, Jan 29, 2019 at 7:16 AM Waldemar Kozaczuk wrote: > This patch adds "emms" instruction in critical places > of OSv thread scheduler code to

[osv-dev] [COMMIT osv master] Reset FPU state after saving it and upon context switch

2019-01-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Reset FPU state after saving it and upon context switch This patch adds "emms" instruction in critical places of OSv thread scheduler code to reset FPU state after it is saved upon involuntary context switch (for example

[osv-dev] [PATCH V2] Reset FPU state after saving it and upon context switch

2019-01-28 Thread Waldemar Kozaczuk
This patch adds "emms" instruction in critical places of OSv thread scheduler code to reset FPU state after it is saved upon involuntary context switch (for example interrupt) and right after executing context switch on new thread to clear FPU status word. Clearing FPU status word is necessary