Can a core be dedicated to one user-space app (e.g. for the purpose of bit-banging GPIO without any interruptions)?
You could use the kernel
isolcpus option in conjunction with the
On the Raspberry Pi reserve the core(s) you want to use by appending the following to the line in
E.g. to reserve cores 2 and 3.
Then use taskset to assign programs to the core(s).
E.g. to launch the Python interpreter.
taskset -c 3 python
(look here for information on how to use the command).
If this is Raspberry Pi specific do you need to bit bang? There may be already existing solutions.