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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Aug 05 2002 - 17:09:41 EST


Andi Kleen wrote:
> > 2: What happens when the user's signal handler decides it wants to save
> > the FPU state itself (after all) and proceed with some FPU use. Will
> > sigreturn restore the user-saved FPU state? Just curious.
>
> Nope it won't because there is no saved state. The previous context's FPU
> state will be silently corrupted.

I meant if the user's signal handler decides it wants to save the FPU
state directly into the signal context struct, after deciding to do
that. Won't that work?

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:29 EST