| Function report | 
| Source Code: kernel\cgroup\cpuset.c | Create Date:2022-07-28 11:16:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cpuset_migrate_mm
Proto:static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, const nodemask_t *to)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| const nodemask_t * | from | |
| const nodemask_t * | to | 
| 1588 | mwork = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 1589 | If mwork Then | 
| 1593 | INIT_WORK( & work, cpuset_migrate_mm_workfn) | 
| 1595 | Else | 
| Name | Describe | 
|---|---|
| update_tasks_nodemask | pdate_tasks_nodemask - Update the nodemasks of tasks in the cpuset.*@cs: the cpuset in which each task's mems_allowed mask needs to be changed* Iterate through each task of @cs updating its mems_allowed to the* effective cpuset's | 
| cpuset_attach | 
| 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 |