Re: Floating-point in kernel space
Quoting "Michael M. Press" <[EMAIL PROTECTED]> (Fri, 9 Mar 2007 18:10:25 -0500): > > I think i've seen somewhere but i don't remember that floating point > > arithmetic is not allowed in kernel space, if that's right, can anyone > > please tell why ??? > > and why not not emulate the floating point in kernel space ??? > > That's nonsense! Floating point arithmetic is absolutely allowed in > kernel space, it's just that user space applications don't tend to > like their data being mangled very much. > > I remember this topic coming up a short while ago on this list. > Perhaps if there is sufficient need someone could implement a pair > of floating-point save/restore functions to allow floating-point > (or MMX) calculations to be used in the kernel only when needed. > Something like the EngSaveFloatingPointState/ > EngRestoreFloatingPointState functions that Windows has. Have a look at the FPU item on the ideas page. There you find a patch for something like this. Bye, Alexander. -- If there was any justice, my face would be on a bunch of crappy merchandise! -- Homer Simpson Flaming Moe's http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Floating-point in kernel space
On 3/10/07, Maslan <[EMAIL PROTECTED]> wrote: > It would be helpful to know why you need this support as well I just wanted to know the idea behind not having FP in kernel-space. Saving and restoring FPU registers adds overhead to thread context switching and there has never been a legitimate need for it. -Kip ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Floating-point in kernel space
It would be helpful to know why you need this support as well I just wanted to know the idea behind not having FP in kernel-space. Thanks, Maslan ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD at SXSW
I just thought that I'd throw this out there, I've run into some folks running FreeBSD on various systems here at SXSW in Austin, and would certainly like to coordinate a meetup with any users or hackers as there's some folks here touting OpenSolaris' ZFS, and containers in contrast to the experimental ZFS support on FreeBSD and jails. It'd be nice to meet with any hackers in the area that were also too poor to make it out to AsiaBSDCon ;) Cheers R. Tyler Ballance: Lead Mac Developer at bleep. software contact: [EMAIL PROTECTED] | jabber: [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"