CPUSET_FORK

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

cpuset_fork - attach newly forked task to its parents cpuset.  

SYNOPSIS

"SYNOPSIS"

void cpuset_fork (struct task_struct * tsk);  

ARGUMENTS

tsk
pointer to task_struct of forking parent process.
 

DESCRIPTION

By default, on fork, a task inherits its parent's cpuset. The pointer to the shared cpuset is automatically copied in fork.c by dup_task_struct. This cpuset_fork routine need only increment the usage counter in that cpuset.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:01 GMT, October 09, 2005