Re: ABI change for device drivers using future AVX instruction set

From: Andi Kleen
Date: Sun Jun 29 2008 - 09:07:29 EST



>>> We could change kernel_fpu_begin() not to disable
>>> preemption, but instead set a task flag. When we get the "no device"
>>> fault, if the flag is set, save the fpu state into the kernel fpu save
>>> area
>>
>> What kernel fpu save area do you mean?
>>
>
> A new one, of course.
>

With that we would be eventually in the mess Agner talked about.

-Andi
--
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/