srcu: Avoid srcutorture security-based pointer obfuscation
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 29 Jun 2019 00:11:10 +0000 (17:11 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 1 Aug 2019 21:05:51 +0000 (14:05 -0700)
commit7e210a653ec9445512534cd235cac29e7301af2a
tree2f300b0292ce3946bed6c36c691176c3c6a81005
parentfbad01af8c3bb9618848abde8054ab7e0c2330fe
srcu: Avoid srcutorture security-based pointer obfuscation

Because pointer output is now obfuscated, and because what you really
want to know is whether or not the callback lists are empty, this commit
replaces the srcu_data structure's head callback pointer printout with
a single character that is "." is the callback list is empty or "C"
otherwise.

This is the only remaining user of rcu_segcblist_head(), so this
commit also removes this function's definition.  It also turns out that
rcu_segcblist_tail() no longer has any callers, so this commit removes
that function's definition while in the area.  They were both marked
"Interim", and their end has come.

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