> In 5.x there's a sched_bind() interface that can be used to pin a thread to an > arbitrary CPU. sched_bind() could work. Thanks. A quick grep didn't reveal any uses of sched_{bind,unbind} inside the kernel though ...