Tomasz Motylewski wrote:

> Hey, here you do FP operation in init_module, outside of RT thread !!!!
> Nobody said you can do this!

In principle the above is correct, in practice it does no arm.

If you use the FPU at insmod the shell running it gets enabled to use
floating point by kernel trap 7 handler.

Tried it with an init module that does FP operations, looping
insmod/rmmod hundred of times without freezes.

In any case it is wrong, but if you need to use the FPU at init module
you can do it the right way, follow what explained in "Hardware Floating
Point Unit (FPU) support in interrupt handlers" at
http://www.aero.polimi.it/projects/rtai/. 

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/

Reply via email to