Function report |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-28 10:28:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Do a forward-progress check for rcutorture. This is normally invoked* due to an OOM event. The argument "j" gives the time period during* which rcutorture would like progress to have been made.
Proto:void rcu_fwd_progress_check(unsigned long j)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | j |
664 | max_cbs = 0 |
665 | max_cpu = -1 |
669 | pr_info("%s: GP age %lu jiffies\n", __func__, jiffies - Time at which GP started, ) |
672 | Else |
673 | pr_info("%s: Last GP end %lu jiffies ago\n", __func__, jiffies - Time last GP ended, again ) |
676 | rdp = this_cpu_ptr( & rcu_data) |
678 | preempt_enable() |
680 | for_each_possible_cpu(cpu) |
681 | cbs = Return the number of callbacks queued on the specified CPU.* Handles both the nocbs and normal cases. |
682 | If Not cbs Then Continue |
692 | If max_cpu >= 0 Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\n") |
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 |