Function report |
Source Code:kernel\smp.c |
Create Date:2022-07-28 10:55:56 |
| Last Modify:2020-03-17 15:12:54 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smp_call_function_many(): Run a function on a set of other CPUs
Proto:void smp_call_function_many(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct cpumask * | mask | |
| smp_call_func_t | func | |
| void * | info | |
| bool | wait |
| 416 | this_cpu = smp_processor_id() |
| 433 | WARN_ON_ONCE(!in_task()) |
| 441 | If cpu >= nr_cpu_ids Then Return |
| 450 | If next_cpu >= nr_cpu_ids Then |
| 455 | cfd = this_cpu_ptr( & cfd_data) |
| 461 | If Value for the false possibility is greater at compile time(!pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in.) Then Return |
| 466 | csd = per_cpu_ptr(csd, cpu) |
| 469 | If wait Then flags |= CSD_FLAG_SYNCHRONOUS |
| 480 | If wait Then |
| 484 | csd = per_cpu_ptr(csd, cpu) |
| Name | Describe |
|---|---|
| update_closid_rmid | Update the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function. |
| set_cache_qos_cfg | |
| reset_all_ctrls | |
| update_domains | |
| membarrier_global_expedited | |
| membarrier_private_expedited | |
| sync_runqueues_membarrier_state |
| 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 |