]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Simplify debug-objects fixups
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Apr 2013 18:31:50 +0000 (11:31 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 27 May 2013 11:59:17 +0000 (04:59 -0700)
commit2c48144b28bc61cec6ed78dde066892ffb194f33
treee7cd25b620bc81b70a24bb6331f5f7ebf09964ab
parente2c5c2b940456705cf6141e78f929b7a2d5e3c0b
rcu: Simplify debug-objects fixups

The current debug-objects fixups are complex and heavyweight, and the
fixups are not complete:  Even with the fixups, RCU's callback lists
can still be corrupted.  This commit therefore strips the fixups down
to their minimal form, eliminating two of the three.

It would be even better if (for example) call_rcu() simply leaked
any problematic callbacks, but for that to happen, the debug-objects
system would need to inform its caller of suspicious situations.
This is the subject of a later commit in this series.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
kernel/rcupdate.c