I have a server process that forks many child processes. The server process has affinity to a CPU core, but I don\'t want that affinity to be inherited by child process (rat
You can call sched_setaffinity(2) with all bits set in CPU mask after the fork(2) and before the execve(2).