• Robert Love's avatar
    [PATCH] cpu affinity syscalls · 22e962f9
    Robert Love authored
    This patch implements the following calls to set and retrieve a task's
    CPU affinity:
    
        int sched_setaffinity(pid_t pid, unsigned int len,
        				      unsigned long *new_mask_ptr)
        int ched_getaffinity(pid_t pid, unsigned int len,
        				      unsigned long *user_mask_ptr)
    22e962f9
sched.c 41.8 KB