• Paul E. McKenney's avatar
    rcu: Add comment documenting rcu_callback_map's purpose · f8466f94
    Paul E. McKenney authored
    The rcu_callback_map lockdep_map structure was added back in 2013, but
    its purpose has become obscure.  This commit therefore documments that the
    purpose of rcu_callback map is, in the words of commit 24ef659a ("rcu:
    Provide better diagnostics for blocking in RCU callback functions"),
    to help lockdep to tie an "inappropriate voluntary context switch back
    to the fact that the function is being invoked from within a callback."
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    f8466f94
update.c 17.9 KB