Re: fpu now a must in kernel

2000-11-09 Thread George Anzinger
Andi Kleen wrote: > > On Thu, Nov 09, 2000 at 12:27:29PM +1300, david wrote: > > > > 2 . put the save / restore code in my code (NOT! GOOD! i do not wont to > > do it this way it is not the right way) > > It is the right way because it only penalizes your code, not everybody else. > This is a M

Re: fpu now a must in kernel

2000-11-09 Thread Andi Kleen
On Thu, Nov 09, 2000 at 12:27:29PM +1300, david wrote: > > 2 . put the save / restore code in my code (NOT! GOOD! i do not wont to > do it this way it is not the right way) It is the right way because it only penalizes your code, not everybody else. A -Andi - To unsubscribe from this list: send

Re: fpu now a must in kernel

2000-11-08 Thread David Lang
ule/sleep during the time you have monkeyed with the FPU. David Lang On Wed, 8 Nov 2000, Reto Baettig wrote: > Date: Wed, 08 Nov 2000 10:46:25 -0800 > From: Reto Baettig <[EMAIL PROTECTED]> > To: david <[EMAIL PROTECTED]> > Cc: Linux Kernel List <[EMAIL PROTECTE

Re: fpu now a must in kernel

2000-11-08 Thread Reto Baettig
When you add it to the task switcher, it takes away a lot of cpu cycles during each task switch and slows down your system. I think this was the main idea behind _not_ saving those registers. IMHO, it does not make sense to generally save these registers when nobody else but your driver uses them.

Re: fpu now a must in kernel

2000-11-08 Thread Timur Tabi
** Reply to message from david <[EMAIL PROTECTED]> on Thu, 09 Nov 2000 12:27:29 +1300 > 2 . put the save / restore code in my code (NOT! GOOD! i do not wont to > do it this way it is not the right way) That's how most people do it. -- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - htt

fpu now a must in kernel

2000-11-08 Thread david
hi i need fast fpu in the kernel for my lexos work so how am i going to do it on the i386 1 . can i add some save / restore code to the task swicher ( the right way ) so when it switchs from user to kernel task its saves the fpu state ? 2 . put the save / restore code in my code (NOT! GOOD!