Thanks, this is pushing or exceeding my level of knowledge, especially about how the kernel behaves on a multi core system. Is it necessary to mask off some interrupts or can you force some cores to idle? I vaguely remember some people wanting to use certain cores as monitors for critical execution on a single core, but can’t recall how that came out.
It's possible to set cpu (core) affinity on the process and on the thread (when multi-threaded) level. I actually don't know what the execution would look like if we had a single single-thread process on a multi-core system without explicit call to pin it to the particular cpu, maybe it would always run on cpu0 ? No idea