Function report | 
Source Code:kernel\cgroup\cpuset.c | 
Create Date:2022-07-28 11:16:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called by cgroups to determine if a cpuset is usable; cpuset_mutex held
Proto:static int cpuset_can_attach(struct cgroup_taskset *tset)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_taskset * | tset | 
| 2114 | percpu_down_write( & cpuset_rwsem) | 
| 2124 | If ret Then Go to out_unlock | 
| 2126 | ret = security_task_setscheduler(task) | 
| 2127 | If ret Then Go to out_unlock | 
| 2136 | ret = 0 | 
| 2137 | out_unlock : | 
| 2138 | percpu_up_write( & cpuset_rwsem) | 
| 2139 | Return ret | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |