Results 1 to 4 of 4
Hi all,
I want to do some floating point operations in the Linux Scheduler/Kernel. Is it possible to do so because I read somewhere it doesn't work.
Please Suggest.
Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-01-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 10
Floating Point Operations in the Scheduler/Kernel Code
Hi all,
I want to do some floating point operations in the Linux Scheduler/Kernel. Is it possible to do so because I read somewhere it doesn't work.
Please Suggest.
Thanks
- 04-02-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,156
From another forum site:
Originally Posted by Gilad Ben-Yossef Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-05-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 10
Hi all,
Just wanted to know that if I want to use abs() function of C in Linux Kernel, what files do I need to include.
Is it linux/stdlib.h or something else?
Waiting for your replies.
Thank You
- 04-05-2010 #4Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
abs()...
Can be found in "kernel.h". Don't be including /usr/include files into the kernel. Please acquaint yourself with the kernel API before starting to wildly include user space files into your kernel space code.
Have a look around the kernel source "Documentation" directory and perhaps give a try at generating the kernel api docs. It's not difficult and will give you some straight answers.
Cheers!!


Reply With Quote
