rcutorture: Make object_debug also double call_rcu() heap object
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 3 Dec 2020 01:52:07 +0000 (17:52 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 Jan 2021 01:17:21 +0000 (17:17 -0800)
commitedf7b8417834c89d00ef88355ea507b0b0a630ae
tree97368f70d1f1dc38c0f86dad65871ad0c903a83f
parent8a67a20bf257ca378d6e5588fbe4382966395ac8
rcutorture: Make object_debug also double call_rcu() heap object

This commit provides a test for call_rcu() printing the allocation address
of a double-freed callback by double-freeing a callback allocated via
kmalloc().  However, this commit does not depend on any other commit.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c