Re: [PATCH 1/3] rcu/kasan: record and print call_rcu() call stack

2020-05-06 Thread Walter Wu
On Wed, 2020-05-06 at 11:46 +0200, Dmitry Vyukov wrote: > On Wed, May 6, 2020 at 7:21 AM Walter Wu wrote: > > > > When call_rcu() is called, we store the call_rcu() call stack into > > slub alloc meta-data, so that KASAN report prints call_rcu() information. > > > > We add new KASAN_RCU_STACK_RECO

Re: [PATCH 1/3] rcu/kasan: record and print call_rcu() call stack

2020-05-06 Thread Dmitry Vyukov
On Wed, May 6, 2020 at 7:21 AM Walter Wu wrote: > > When call_rcu() is called, we store the call_rcu() call stack into > slub alloc meta-data, so that KASAN report prints call_rcu() information. > > We add new KASAN_RCU_STACK_RECORD configuration option. It will record > first and last call_rcu()

[PATCH 1/3] rcu/kasan: record and print call_rcu() call stack

2020-05-05 Thread Walter Wu
When call_rcu() is called, we store the call_rcu() call stack into slub alloc meta-data, so that KASAN report prints call_rcu() information. We add new KASAN_RCU_STACK_RECORD configuration option. It will record first and last call_rcu() call stack and KASAN report will print two call_rcu() call s