rcu: kasan: record and print kvfree_call_rcu call stack
Subsystems (2)
PATCH v2 1/1 rcu: kasan: record and print kvfree_call_rcu call stack
From: Zqiang <[email protected]>
Add kasan_record_aux_stack function for kvfree_call_rcu function to record call stacks.
Cc Walter Wu <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc "Paul E. McKenney" <[email protected]>
Signed-off-by Zqiang <[email protected]>
---
v1->v2:
Add Cc tags.
kernel/rcu/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree.c +1 -1
@@ -3506,7 +3506,7 @@ void kvfree_call_rcu(struct rcu_head *head, rcu_callback_t func) success = true; goto unlock_return; } - +kasan_record_aux_stack (ptr); success =kvfree_call_rcu_add_ptr_to_bulk (krcp, ptr);if (!success) {run_page_cache_worker (krcp);
Signature · 1 line
2.17.1