Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:26:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Similar to rcu_report_qs_rdp(), for which it is a helper function
Proto:static void rcu_report_qs_rnp(unsigned long mask, struct rcu_node *rnp, unsigned long gps, unsigned long flags)__releases(rnp->lock)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | mask | |
struct rcu_node * | rnp | |
unsigned long | gps | |
unsigned long | flags |
1869 | oldmask = 0 |
1875 | cycle |
1876 | If Not (CPUs or groups that need to switch in & mask) && mask || Track rsp->rcu_gp_seq. != gps Then |
1883 | Return |
1885 | WARN_ON_ONCE(oldmask) |
1893 | If CPUs or groups that need to switch in != 0 || rcu_preempt_blocked_readers_cgp(rnp) Then |
1897 | Return |
1901 | If (cu_node tree? == NULL) Then |
1905 | Break |
1909 | rnp = cu_node tree? |
Name | Describe |
---|---|
rcu_gp_init | Initialize a new grace period. Return false if no grace period required. |
rcu_report_unblock_qs_rnp | Record a quiescent state for all tasks that were previously queued* on the specified rcu_node structure and that were blocking the current* RCU grace period |
rcu_report_qs_rdp | Record a quiescent state for the specified CPU to that CPU's rcu_data* structure. This must be called from the specified CPU. |
force_qs_rnp | |
rcu_cpu_starting | Mark the specified CPU as being online so that subsequent grace periods* (both expedited and normal) will wait on it. Note that this means that* incoming CPUs are not allowed to use RCU read-side critical sections* until this function is called |
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 |