How can I completely reserve a CPU?
I have a custom networking application for which I want absolutely no other processes on the reserved CPU. Mainboard is a Tyan S289 quad Opteron system. The following threads are running on my reserved CPU. Do I need them, and how can I get rid of them?
Also, I have had absolutely no luck in pushing interrupts off my CPU. If I try and echo "d" to /proc/irq/X/smp_affinity, I get a write error: Input/output error. (Could the irq_no_affinity variable be getting set somehow?) Tried to force the irqs off by calling fixup_irq from main.c, but it must be getting overwritten later.
So...how do I stop all threads and irqs on my CPU and still play nicely with the rest of the kernel?
BTW, I haven't worked on the Linux kernel since v. 2.0, so don't assume I know anything. I can probably figure it out if you give me a hint though.
Thanks in advance,
(P.S. Hate the 1000 ch post limit)