[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201119214934.GC1437@paulmck-ThinkPad-P72>
Date: Thu, 19 Nov 2020 13:49:34 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: qiang.zhang@...driver.com
Cc: josh@...htriplett.org, rostedt@...dmis.org, joel@...lfernandes.org,
rcu@...r.kernel.org, linux-kernel@...r.kernel.org,
kasan-dev@...glegroups.com, urezki@...il.com
Subject: Re: [PATCH] rcu: kasan: record and print kvfree_call_rcu call stack
On Wed, Nov 18, 2020 at 11:53:09AM +0800, qiang.zhang@...driver.com wrote:
> From: Zqiang <qiang.zhang@...driver.com>
>
> Add kasan_record_aux_stack function for kvfree_call_rcu function to
> record call stacks.
>
> Signed-off-by: Zqiang <qiang.zhang@...driver.com>
Thank you, but this does not apply on the "dev" branch of the -rcu tree.
See file:///home/git/kernel.org/rcutodo.html for more info.
Adding others on CC who might have feedback on the general approach.
Thanx, Paul
> ---
> kernel/rcu/tree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> index da3414522285..a252b2f0208d 100644
> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -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);
> --
> 2.17.1
>
Powered by blists - more mailing lists