srcu: Make Classic and Tree SRCU announce themselves at bootup
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 21 Apr 2017 18:16:32 +0000 (11:16 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:30 +0000 (08:25 -0700)
commit1f4f6da1c80905830337c3ff46a2d3260dabb864
treeaf11c6ffb7ba97c7c1feb1b95635ecf7c1f83291
parent59ca3f9fef599cc6da7975d2261ab3bb86a6ac6b
srcu: Make Classic and Tree SRCU announce themselves at bootup

Currently, the only way to tell whether a given kernel is running
Classic, Tiny, or Tree SRCU is to look at the .config file, which
can easily be lost or associated with the wrong kernel.  This commit
therefore has Classic and Tree SRCU identify themselves at boot time.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/srcu.c
kernel/rcu/srcutree.c