Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree_exp.h Create Date:2022-07-28 10:28:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Select the nodes that the upcoming expedited grace period needs* to wait for.

Proto:static void sync_rcu_exp_select_cpus(void)

Type:void

Parameter:Nothing

424  trace_rcu_exp_grace_period(Name of structure. , Return then value that expedited-grace-period counter will have* at the end of the current grace period., Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("reset"))
425  Reset the ->expmask values in the rcu_node tree in preparation for* a new expedited grace period.
426  trace_rcu_exp_grace_period(Name of structure. , Return then value that expedited-grace-period counter will have* at the end of the current grace period., Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("select"))
430  Need to flush workitem? = false
431  If Not READ_ONCE(CPUs or groups that need to check in ) Then Continue
433  If Not READ_ONCE(rcu_par_gp_wq) || The rcu_scheduler_active variable is initialized to the value* RCU_SCHEDULER_INACTIVE and transitions RCU_SCHEDULER_INIT just before the* first task is spawned != RCU_SCHEDULER_RUNNING || Is this rcu_node the last leaf? (rnp) Then
437  Select the CPUs within the specified rcu_node that the upcoming* expedited grace period needs to wait for.
438  Continue
440  INIT_WORK( & rew_work, Select the CPUs within the specified rcu_node that the upcoming* expedited grace period needs to wait for.)
441  cpu = Find the next set bit in a memory region.
443  If Value for the false possibility is greater at compile time(cpu > highest-numbered CPU or group here. - lowest-numbered CPU or group here. ) Then cpu = WORK_CPU_UNBOUND
445  Else cpu += lowest-numbered CPU or group here.
447  queue_work_on - queue work on specific cpu*@cpu: CPU number to execute work on*@wq: workqueue to use*@work: work to queue* We queue the work to a specific CPU, the caller must ensure it* can't go away.
448  Need to flush workitem? = true
452  Scan the leaves of the rcu_node hierarchy for the rcu_state structure.* Note that if there is a singleton rcu_node tree with but one rcu_node* structure, this loop -will- visit the rcu_node structure. It is still(rnp)
453  If Need to flush workitem? Then lush_work - wait for a work to finish executing the last queueing instance*@work: the work to flush* Wait until @work has finished execution