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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Agner Fog <agner@...>
Cc: <linux-kernel@...>
Date: Wednesday, June 25, 2008 - 12:22 pm

On Wed, 25 Jun 2008 17:32:36 +0200
Agner Fog <agner@agner.org> wrote:


the answer is: you don't use AVX in drivers just as you don't use SSE
in drivers.

Let me repeat this loud and clear:

It is not allowed to use floating point, SSE of AVX in device drivers.

(there are few places that very carefully do this anyway, the raid5
code being the most obvious one, but we should not add more)



a patch introducing xsave/xrestor is being discussed already here...
it's not really more expensive.


this is not correct; the library functions are provided by the kernel
and do not use AVX etc.


-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ABI change for device drivers using future AVX instructi..., Arjan van de Ven, (Wed Jun 25, 12:22 pm)
Re: ABI change for device drivers using future AVX instructi..., Arjan van de Ven, (Fri Jun 27, 10:22 am)