.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "CPUSET_FORK" "9" "09 October 2005" "" "" .SH NAME cpuset_fork \- attach newly forked task to its parents cpuset. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void cpuset_fork (struct task_struct * \fItsk\fB); \fR .SH "ARGUMENTS" .TP \fB\fItsk\fB\fR pointer to task_struct of forking parent process. .SH "DESCRIPTION" .PP By default, on fork, a task inherits its parent's cpuset. The pointer to the shared cpuset is automatically copied in fork.c by \fBdup_task_struct\fR\&. This \fBcpuset_fork\fR routine need only increment the usage counter in that cpuset.