Function report | 
Source Code:kernel\cgroup\cpuset.c | 
Create Date:2022-07-28 11:16:58 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cpuset_attach
Proto:static void cpuset_attach(struct cgroup_taskset *tset)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_taskset * | tset | 
| 2168 | oldcs = cpuset_attach_old_cs | 
| 2173 | percpu_down_write( & cpuset_rwsem) | 
| 2176 | If cs == top_cpuset Then pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask | 
| 2202 | If mm Then | 
| 2224 | If Not * Tasks are being attached to this cpuset. Used to prevent * zeroing cpus/mems_allowed between ->can_attach() and ->attach(). Then wake_up( & cpuset_attach_wq) | 
| 2227 | percpu_up_write( & cpuset_rwsem) | 
| 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  |