diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2019-09-22 13:03:17 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-01-24 10:24:31 -0800 |
commit | e99637becb2e684bee2b9117f817f4d1346b8353 (patch) | |
tree | 4ce903202e537e4e16f89eff82bb401d722d9626 /kernel/rcu/rcu.h | |
parent | 0392bebebf26f09434e6c7ca4c09c014efeef76a (diff) |
rcu: Add support for debug_objects debugging for kfree_rcu()
This commit applies RCU's debug_objects debugging to the new batched
kfree_rcu() implementations. The object is queued at the kfree_rcu()
call and dequeued during reclaim.
Tested that enabling CONFIG_DEBUG_OBJECTS_RCU_HEAD successfully detects
double kfree_rcu() calls.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
[ paulmck: Fix IRQ per kbuild test robot <lkp@intel.com> feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/rcu.h')
0 files changed, 0 insertions, 0 deletions