]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit420c545d91f61a6315d472f0cd141da94d6f13f7
tree443f8c575362e19c01c07173c82b0fc3763ebc50
parent955374d25137c391eaf05569ccd747c346cb6db6
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