rcu: List-debug variants of rcu list routines.
authorDave Jones <davej@redhat.com>
Thu, 15 Mar 2012 02:17:39 +0000 (22:17 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Apr 2012 03:54:49 +0000 (20:54 -0700)
commit559f9badd11ddf399f88b18b4c0f110fd511ae53
tree443f8c575362e19c01c07173c82b0fc3763ebc50
parent66f75a5d028beaf67c931435fdc3e7823125730c
rcu: List-debug variants of rcu list routines.

* Make __list_add_rcu check the next->prev and prev->next pointers
  just like __list_add does.
* Make list_del_rcu use __list_del_entry, which does the same checking
  at deletion time.

Has been running for a week here without anything being tripped up,
but it seems worth adding for completeness just in case something
ever does corrupt those lists.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rculist.h
lib/list_debug.c