Re: context switch vs. signal delivery [was: Re: Accelerating usermode linux]

Oliver Neukum
2002-08-05T20:08:49Z

> Also, people who play games with FP actually change the FP data on the
> stack frame, and depend on signal return to reload it. Admittedly I've
> only ever seen this on SIGFPE, but anyway - this is all done with integer
> instructions that just touch bitpatterns on the stack.. The kernel can't
> catch it sanely.

Could the fp state be put on its own page and the dirty bit
evaluated in the decision whether to restore fpu state ?

Regards
Oliver