| Function report | 
| Source Code: kernel\cgroup\cpuset.c | Create Date:2022-07-28 11:17:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:hotplug_update_tasks
Proto:static void hotplug_update_tasks(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cpuset * | cs | |
| struct cpumask * | new_cpus | |
| nodemask_t * | new_mems | |
| bool | cpus_updated | |
| bool | mems_updated | 
| 2983 | If pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. Then pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask | 
| 2985 | If nodes_empty( * new_mems) Then new_mems = effective_mems | 
| 2988 | spin_lock_irq( & callback_lock) | 
| 2990 | effective_mems = new_mems | 
| 2991 | spin_unlock_irq( & callback_lock) | 
| Name | Describe | 
|---|---|
| cpuset_hotplug_update_tasks | puset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly | 
| 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 |