On Mon, Jun 19, 2000 at 06:17:41PM +0200, Paolo Mantegazza wrote:
> Tomasz Motylewski wrote:
> >
> > On Thu, 15 Jun 2000, Paolo Mantegazza wrote:
> >
> > > That's why you have to tell your real time scheduler that also Linux is
> > > using the FPU. In fact the real time task swithching is optimized in
> > > such a way to avoid saving/restoring the FPU if only one real time task
> > > is using it.
> >
> > Ah, I did not think about this possibility. But how to do it? I mean, I am in
> > init_module, and I want to use FP in it. What should I call?
> >
> > Best regards,
>
> In init module the real time scheduler is not active. However it will be
> as easy as eating a cake: unpack any version of RTAI, even an old one,
> and look at rt_process in examples/timer.
>
> Do not believe those telling you that it will be more difficult on other
> architectures, just look at what Linux does at process switching and
> copy it.
And so you do not have machine independent code anymore. And for no advantage.
Good programming requires a commitment to clarity and simplicity.
> Wizards need superstitious people.
ignored.
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/