Provided by: kernel-doc-2.4.27_2.4.27-12_all bug

NAME

       set_cpus_allowed -  change a given task’s processor affinity

SYNOPSIS

       void set_cpus_allowed (struct task_struct *p, unsigned long new_mask);

ARGUMENTS

       p            task to bind

       new_mask     bitmask of allowed processors

DESCRIPTION

       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.