set_cpus_allowed - change a given task’s processor affinity
void set_cpus_allowed (struct task_struct *p, unsigned long new_mask);
p task to bind new_mask bitmask of allowed processors
Upon return, the task is running on a legal processor. Note the caller
MUST HAVE A VALID REFERENCE TO THE TASK
it must not exit prematurely. This call can sleep; do not hold locks on call.