CPUSET_EXIT

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

 

NAME

cpuset_exit - detach cpuset from exiting task  

SYNOPSIS

"SYNOPSIS"

void cpuset_exit (struct task_struct * tsk);  

ARGUMENTS

tsk
pointer to task_struct of exiting process
 

DESCRIPTION

Detach cpuset from tsk and release it.

Note that cpusets marked notify_on_release force every task in them to take the global cpuset_sem semaphore when exiting. This could impact scaling on very large systems. Be reluctant to use notify_on_release cpusets where very high task exit scaling is required on large systems.

Don't even think about derefencing 'cs' after the cpuset use count goes to zero, except inside a critical section guarded by the cpuset_sem semaphore. If you don't hold cpuset_sem, then a zero cpuset use count is a license to any other task to nuke the cpuset immediately.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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