Re: [kvm-devel] fx_init schedule in atomic

2008-05-04 Thread Avi Kivity
Andrea Arcangeli wrote: > On Fri, May 02, 2008 at 12:28:32PM +0300, Avi Kivity wrote: > >> Applied, thanks. Dynamic allocation for the fpu state was introduced in >> 2.6.26-rc, right? >> > > It seems very recent, hit mainline on 30 Apr. > > Also we may want to think if there's something ch

Re: [kvm-devel] fx_init schedule in atomic

2008-05-02 Thread Andrea Arcangeli
On Fri, May 02, 2008 at 12:28:32PM +0300, Avi Kivity wrote: > Applied, thanks. Dynamic allocation for the fpu state was introduced in > 2.6.26-rc, right? It seems very recent, hit mainline on 30 Apr. Also we may want to think if there's something cheaper than fx_save to trigger a math exception

Re: [kvm-devel] fx_init schedule in atomic

2008-05-02 Thread Avi Kivity
Andrea Arcangeli wrote: > This make sure not to schedule in atomic during fx_init. I also > changed the name of fpu_init to fx_finit to avoid duplicating the name > with fpu_init that is already used in the kernel, this makes grep > simpler if nothing else. > > Applied, thanks. Dynamic allocati