Function report |
Source Code:kernel\rcu\tree_exp.h |
Create Date:2022-07-28 10:28:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Select the CPUs within the specified rcu_node that the upcoming* expedited grace period needs to wait for.
Proto:static void sync_rcu_exp_select_node_cpus(struct work_struct *wp)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | wp |
346 | mask_ofl_test = 0 |
349 | rdp = per_cpu_ptr( & rcu_data, cpu) |
352 | If These macros fold the SMP functionality into a single CPU system() == cpu || Not (ginning of each grace period. & mask) Then |
354 | mask_ofl_test |= mask |
355 | Else |
356 | snap = Snapshot the ->dynticks counter with full ordering so as to allow* stable comparison of this counter with past and future snapshots. |
357 | If Return true if the snapshot returned from rcu_dynticks_snap()* indicates that RCU is in an extended quiescent state. Then mask_ofl_test |= mask |
359 | Else Double-check need for IPI. = snap |
370 | If rcu_preempt_has_tasks(rnp) Then s no such task. = next |
377 | rdp = per_cpu_ptr( & rcu_data, cpu) |
379 | retry_ipi : |
381 | mask_ofl_test |= mask |
382 | Continue |
385 | put_cpu() |
386 | Continue |
388 | ret = smp_call_function_single(cpu, SPDX-License-Identifier: GPL-2.0+ , NULL, 0) |
389 | put_cpu() |
390 | If Not ret Then |
391 | mask_ofl_ipi &= ~mask |
392 | Continue |
396 | If ginning of each grace period. & mask && CPUs or groups that need to check in & mask Then |
402 | Go to retry_ipi |
405 | If Not (CPUs or groups that need to check in & mask) Then mask_ofl_ipi &= ~mask |
410 | mask_ofl_test |= mask_ofl_ipi |
411 | If mask_ofl_test Then Report expedited quiescent state for multiple CPUs, all covered by the* specified leaf rcu_node structure. |
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 |