Re: [RFC 0/3] Basic support for LWP

From: H. Peter Anvin
Date: Thu Oct 07 2010 - 10:50:02 EST


On 10/07/2010 07:25 AM, Stephane Eranian wrote:
>>
>> No, but you wouldn't be able to use lazy FPU.
>>
> You mean lazy restore, I am guessing here.
> Is that to say, you cannot figure out whether the FPU state in
> the CPU on ctxsw in is yours anymore?
>

Lazy save/restore, and more or less, yes. Really, XSAVE was designed to
be saved/restored as a unit, with unused state skipped.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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