rcu: Simplify rcu_eqs_{enter,exit}() non-idle task debug code
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 Oct 2017 02:55:31 +0000 (19:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Nov 2017 23:51:21 +0000 (15:51 -0800)
commite68bbb266dcfed201d8d54a2828ef820d747f083
tree1ea035fea434201066f7b005a16c63cec376b599
parent9dd238e28640d5514bbd0ff2d425f32409981d85
rcu: Simplify rcu_eqs_{enter,exit}() non-idle task debug code

The code that checks for non-idle non-nohz_idle-usermode tasks invoking
rcu_eqs_enter() and rcu_eqs_exit() prints a considerable quantity of
helpful information.  However, these checks fire rarely, so the extra
complexity is no longer worth it.  This commit therefore replaces this
debug code with simple WARN_ON_ONCE() statements.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/trace/events/rcu.h
kernel/rcu/tree.c