···135135The implementation of cpusets requires a few, simple hooks136136into the rest of the kernel, none in performance critical paths:137137138138- - in main/init.c, to initialize the root cpuset at system boot.138138+ - in init/main.c, to initialize the root cpuset at system boot.139139 - in fork and exit, to attach and detach a task from its cpuset.140140 - in sched_setaffinity, to mask the requested CPUs by what's141141 allowed in that tasks cpuset.···146146 and related changes in both sched.c and arch/ia64/kernel/domain.c147147 - in the mbind and set_mempolicy system calls, to mask the requested148148 Memory Nodes by what's allowed in that tasks cpuset.149149- - in page_alloc, to restrict memory to allowed nodes.149149+ - in page_alloc.c, to restrict memory to allowed nodes.150150 - in vmscan.c, to restrict page recovery to the current cpuset.151151152152In addition a new file system, of type "cpuset" may be mounted,