News for hackers. Stuff that matters.
Re:“Unexplainable” core dump (2011) by sidewndr46 on Tuesday January 03, 2023 @05:56PM (#34239341)
It has been a while, but a switch to kernel mode followed by a switch back to the same user mode process doesn't actually mess with FP registers. The idea being, the kernel should not be using those anyways.

Also minor point: a const pointer is a pointer which always points at the same address. You can still change what is pointed at. You probably meant "a pointer to const"

Re:“Unexplainable” core dump (2011) by dekhn on Tuesday January 03, 2023 @06:09PM (#34239468)
Not a switch back to the same process- context switching during normal process switching.

People have been using the term "const pointer" to refer to "a pointer to const" for 20+ years (as long as I've been doing C++), although that's probably more out of laziness than incorrectness. Certainly the language definition didn't do anybody favors.

Re:“Unexplainable” core dump (2011) by sidewndr46 on Wednesday January 04, 2023 @03:11PM (#34250752)
OK, that's interesting. Have any details on how FP wasn't being restored?