x86-64 kernel, 32-bit process - FPU state damage on cswitch
akovalenko
Status: Curious
Joined: 11 Dec 2010
Posts: 5
Reply Quote
Hello, dear liquorix kernel maintainers.
There is a known problem with CONFIG_PREEMPT kernels on x86-64: task FPU state is lost on some context switches (I observed it on a 32-bit process only, but it may be irrelevant).
Here is the patch that solved the problem for me:
[link]
It would be great to pull it into liquorix kernel sources.

P.S. I ran into the problem while debugging SBCL under WineHQ. Both SBCL-for-win32 and Wine are not too stable pieces of software, so the kernel itself was the last suspect of all. I've finally reproduced the problem with normal ELF executable, hence a conclusion that it's the kernel's fault.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1135
Reply Quote
Thanks, the patch just got pushed to Zen and will be in the next Liquorix release.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours