Add the ability to set CPU affinity by kernel.