Function report |
Source Code:kernel\stop_machine.c |
Create Date:2022-07-28 11:21:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stop_machine_cpuslocked
Proto:int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
cpu_stop_fn_t | fn | |
void * | data | |
const struct cpumask * | cpus |
599 | struct multi_stop_data msdata = {fn = fn, data = data, Like num_online_cpus(), but hotplug cpu uses us, so we need this. = num_online_cpus(), active_cpus = cpus, } |
606 | lockdep_assert_cpus_held() |
608 | If Not stop_machine_initialized Then |
628 | set_state( & msdata, MULTI_STOP_PREPARE) |
Name | Describe |
---|---|
microcode_reload_late | Reload microcode late on all CPUs. Wait for a sec until they* all gather together. |
stop_machine |
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 |