Function report |
Source Code:include\linux\stop_machine.h |
Create Date:2022-07-28 05:56:38 |
| 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 "Bogolock": stop the entire machine, disable* interrupts. This is a very heavy lock, which is equivalent to* grabbing every spinlock (and more). So the "read" side to such a* lock is anything which disables preemption.
Proto:static inline 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 |
| 147 | local_irq_save(flags) |
| 149 | local_irq_restore(flags) |
| 150 | Return ret |
| Name | Describe |
|---|---|
| set_mtrr_cpuslocked |
| 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 |