Function report |
Source Code:kernel\sched\membarrier.c |
Create Date:2022-07-28 09:45:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sync_runqueues_membarrier_state
Proto:static int sync_runqueues_membarrier_state(struct mm_struct *mm)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
202 | membarrier_state = atomic_read( & membarrier_state) |
220 | If Not zalloc_cpumask_var( & tmpmask, GFP_KERNEL) Then Return -ENOMEM |
228 | synchronize_rcu() |
237 | cpus_read_lock() |
239 | for_each_online_cpu(cpu) |
250 | smp_call_function_many(tmpmask, ipi_sync_rq_state, mm, 1) |
251 | preempt_enable() |
253 | free_cpumask_var(tmpmask) |
254 | cpus_read_unlock() |
256 | Return 0 |
Name | Describe |
---|---|
membarrier_register_global_expedited | |
membarrier_register_private_expedited |
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 |