Access CPU hotplug functionality from scheduler
I would like to be able to hotplug individual cores dynamically from the scheduler.
I am currently mucking about with the 2.6.35 kernel and i have tracked down the functin of interest, namely cpu_down() located in cpu.c
Now the problem is that when i try to call the function from inside the scheduler the whole system just freezes. No error messages no nothing.
My computer is a Lenovo thinkpad x201i with a core i3 cpu.
I have dual boot with win 7 and Ubuntu 10.10.
If anybodey has implemented some cpuhotplug functionality i would be grateful to know the correct way of doing this.