• Paul E. McKenney's avatar
    rcu: Simplify debug-objects fixups · 15100df8
    Paul E. McKenney authored
    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: default avatarPaul 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: default avatarSedat Dilek <sedat.dilek@gmail.com>
    Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
    15100df8
rcupdate.c 10.1 KB