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.
Wizards need superstitious people.
Ciao, Paolo.
-- [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/