You are not logged in.
I want to write a simple test bash script which implements a function on the CPU of my choice.
How do I specify the function and the target CPU ?
Thank you
Offline
Offline
I wrote a kernel module and am using the functions sched_setaffinity() to the affinity .. I have included "linux/sched.h" in the kernel module
However when I build the module, I am get the error that the sched_setaffinity() is undefined.
What might be the solution ?Thank you
Offline
I discovered the solution to my problem. I needed the kernel to have these function symbols sched_setaffinity to be exported
Offline
Please do not forget to add solved to your title.
Thanks...
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline