History

rcu: Mark rcu_nmi_enter() call to rcu_cleanup_after_idle() noinstr

The objtool complains about the call to rcu_cleanup_after_idle() from rcu_nmi_enter(), so this commit adds instrumentation_begin() before that call and instrumentation_end() after it.

Paul E. McKenney committed 6 years ago

Commit 04b25a41 parent 55fbe861 file · +4 −1Browse files

Unified · Split

kernel/rcu/tree.c+4−1
@@ -990,8 +990,11 @@ noinstr void rcu_nmi_enter(void) · 989 unmodified lines
990990 rcu_dynticks_eqs_exit();
991991 // ... but is watching here.
992992
993− if (!in_nmi())
993+ if (!in_nmi()) {
994+ instrumentation_begin();
994995 rcu_cleanup_after_idle();
996+ instrumentation_end();
997+ }
995998
996999 instrumentation_begin();
9971000 // instrumentation for the noinstr rcu_dynticks_curr_cpu_in_eqs()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t