diff options
author | Zqiang <qiang.zhang@windriver.com> | 2020-11-20 17:53:11 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-05 00:42:04 +0300 |
commit | 84109ab58590dc6c4e7eb36329fdc7ec121ed5a5 (patch) | |
tree | d4629bc98f7f3c5a492b2cb567540eeea7ed3ad9 /lib/mpi/mpi-cmp.c | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | linux-84109ab58590dc6c4e7eb36329fdc7ec121ed5a5.tar.xz |
rcu: Record kvfree_call_rcu() call stack for KASAN
This commit adds a call to kasan_record_aux_stack() in kvfree_call_rcu()
in order to record the call stack of the code that caused the object
to be freed. Please note that this function does not update the
allocated/freed state, which is important because RCU readers might
still be referencing this object.
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions