Hi Shirley, > Do you know if the PF_NO_SETAFFINITY flag can help in any way?
AFAIK, this will not work for kernel thread. For example, with 4.8.13-1 kernel: Display all kernel threads with ps aux | grep "\["n (as kernel threads are enclosed in square brackets, [ ]) And pick one of them and try: taskset -pc 7 521 pid 521's current affinity list: 0-15 taskset: failed to set pid 521's affinity: Invalid argument Regards, Rami Rosen