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

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/rcu/tree.c+4−1
@@ -990,8 +990,11 @@ noinstr void rcu_nmi_enter(void) · 989 unmodified lines
990 rcu_dynticks_eqs_exit();990 rcu_dynticks_eqs_exit();
991 // ... but is watching here.991 // ... but is watching here.
992 992
993 if (!in_nmi())993 if (!in_nmi()) {
994 instrumentation_begin();
994 rcu_cleanup_after_idle();995 rcu_cleanup_after_idle();
996 instrumentation_end();
997 }
995 998
996 instrumentation_begin();999 instrumentation_begin();
997 // instrumentation for the noinstr rcu_dynticks_curr_cpu_in_eqs()1000 // 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