[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "Hijacking" a PCU.
On Sat, 15 Dec 2012, Martin Husemann wrote:
> I did some statistics and did not find a single lwp exiting that had no
> fpu state allocated. Maybe some libc changes could change this (if we want),
> but on the other hand this clearly points out that the better solution for
> this instance of a per cpu unit would be to have it preallocated in every
That's probably due to memcpy()/memset(). Maybe the FPU in use bits
should be cleared at the end of memcpy() and memset() so the kernel
doesn't have to save the state.
Main Index |
Thread Index |