···135The implementation of cpusets requires a few, simple hooks136into the rest of the kernel, none in performance critical paths:137138- - in main/init.c, to initialize the root cpuset at system boot.139 - in fork and exit, to attach and detach a task from its cpuset.140 - in sched_setaffinity, to mask the requested CPUs by what's141 allowed in that tasks cpuset.···146 and related changes in both sched.c and arch/ia64/kernel/domain.c147 - in the mbind and set_mempolicy system calls, to mask the requested148 Memory Nodes by what's allowed in that tasks cpuset.149- - in page_alloc, to restrict memory to allowed nodes.150 - in vmscan.c, to restrict page recovery to the current cpuset.151152In addition a new file system, of type "cpuset" may be mounted,
···135The implementation of cpusets requires a few, simple hooks136into the rest of the kernel, none in performance critical paths:137138+ - in init/main.c, to initialize the root cpuset at system boot.139 - in fork and exit, to attach and detach a task from its cpuset.140 - in sched_setaffinity, to mask the requested CPUs by what's141 allowed in that tasks cpuset.···146 and related changes in both sched.c and arch/ia64/kernel/domain.c147 - in the mbind and set_mempolicy system calls, to mask the requested148 Memory Nodes by what's allowed in that tasks cpuset.149+ - in page_alloc.c, to restrict memory to allowed nodes.150 - in vmscan.c, to restrict page recovery to the current cpuset.151152In addition a new file system, of type "cpuset" may be mounted,