[PATCH] cpu affinity syscalls
authorRobert Love <rml@tech9.net>
Tue, 9 Apr 2002 11:02:50 +0000 (04:02 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 9 Apr 2002 11:02:50 +0000 (04:02 -0700)
commit22e962f9b7a7abbc2d17ceaf3917bb8e67b68a8f
treee5a8c26a9b54e7aa0edb64ec9df335dfabe72c71
parentb96ad24ad44794ee435987291c83b77e6c6f96ac
[PATCH] cpu affinity syscalls

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)
arch/i386/kernel/entry.S
include/asm-i386/unistd.h
kernel/sched.c