Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cpu_switchto



On Wed, May 27, 2015 at 11:32:00AM +0200, deco33000%yandex.com@localhost wrote:
> Hello,
> 
> it seems that the mi_switch && cpu_switchto do not check if the fpu has
> been used or not and do the state save by default ( I didn't find the
> fpu store so I guess it is somewhere I could not see it yet).
> 
> Why not have a check to save some time ? 

Because it has been shown that the lazy FPU context switch doesn't save
time. Especially the SSE2 registers are pretty much almost touched.

Joerg


Home | Main Index | Thread Index | Old Index