Function report |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-28 10:28:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Show the state of the grace-period kthreads.
Proto:void show_rcu_gp_kthreads(void)
Type:void
Parameter:Nothing
563 | ja = j - READ_ONCE(Time of last GP kthread ) |
564 | jr = j - READ_ONCE(Time of last GP request ) |
565 | jw = j - READ_ONCE(Last GP kthread wake. ) |
566 | pr_info("%s: wait state: %s(%d) ->state: %#lx delta ->gp_activity %lu ->gp_req_activity %lu ->gp_wake_time %lu ->gp_wake_seq %ld ->gp_seq %ld ->gp_seq_needed %ld ->gp_flags %#x\n", Name of structure. , Convert a ->gp_state value to a character string., GP kthread sleep state. , Task for grace periods. ? run state : 0x1ffffL, ja, jr, jw, (long)READ_ONCE(->gp_seq at ^^^. ), (long)READ_ONCE(Grace-period sequence #. ), (long)READ_ONCE(Track furthest future GP request. ), READ_ONCE(Commands for GP task. )) |
575 | If ULONG_CMP_GE(Grace-period sequence #. , Track furthest future GP request. ) Then Continue |
577 | pr_info("\trcu_node %d:%d ->gp_seq %ld ->gp_seq_needed %ld\n", lowest-numbered CPU or group here. , highest-numbered CPU or group here. , (long)Track rsp->rcu_gp_seq. , (long)Track furthest future GP request. ) |
580 | If Not Is this rcu_node a leaf? (rnp) Then Continue |
583 | rdp = per_cpu_ptr( & rcu_data, cpu) |
584 | If Possible ->gp_seq wrap. || ULONG_CMP_GE(Grace-period sequence #. , Track furthest future GP request. ) Then Continue |
588 | pr_info("\tcpu %d ->gp_seq_needed %ld\n", cpu, (long)Track furthest future GP request. ) |
592 | for_each_possible_cpu(cpu) |
593 | rdp = per_cpu_ptr( & rcu_data, cpu) |
Name | Describe |
---|---|
rcu_torture_cleanup |
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 |