Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:44 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lockdep_rcu_suspicious
Proto:void lockdep_rcu_suspicious(const char *file, const int line, const char *s)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | file | |
const int | line | |
const char * | s |
5393 | curr = current process |
5396 | pr_warn("\n") |
5397 | pr_warn("=============================\n") |
5398 | pr_warn("WARNING: suspicious RCU usage\n") |
5399 | print_kernel_ident() |
5400 | pr_warn("-----------------------------\n") |
5402 | pr_warn("\nother info that might help us debug this:\n\n") |
5403 | pr_warn("\n%srcu_scheduler_active = %d, debug_locks = %d\n", !rcu_lockdep_current_cpu_online() ? "RCU used illegally from offline CPU!\n" : !_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections ? "RCU used illegally from idle CPU!\n" : "", rcu_scheduler_active, We want to turn all lock-debugging facilities on/off at once,* via a global flag. The reason is that once a single bug has been* detected and reported, there might be cascade of followup bugs* that would just muddy the log. So we report the first one and) |
5429 | If Not _is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections Then pr_warn("RCU used illegally from extended quiescent state!\n") |
5432 | lockdep_print_held_locks(curr) |
5433 | pr_warn("\nstack backtrace:\n") |
5434 | dump_stack() |
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 |