[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241120091622.GK38972@noisy.programming.kicks-ass.net>
Date: Wed, 20 Nov 2024 10:16:22 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Ran Xiaokai <ranxiaokai627@....com>
Cc: juri.lelli@...hat.com, vincent.guittot@...aro.org, mingo@...hat.com,
pshelar@....org, davem@...emloft.net, linux-kernel@...r.kernel.org,
ran.xiaokai@....com.cn, linux-perf-users@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/4] perf/core: convert call_rcu(free_ctx) to kfree_rcu()
On Wed, Nov 20, 2024 at 10:12:15AM +0100, Peter Zijlstra wrote:
> On Wed, Nov 20, 2024 at 06:47:14AM +0000, Ran Xiaokai wrote:
> > From: Ran Xiaokai <ran.xiaokai@....com.cn>
> >
> > The rcu callback free_ctx() simply calls kfree().
> > It's better to directly call kfree_rcu().
>
> Why is it better?
*sigh*, also please don't cross post with a moderated list :-(
Powered by blists - more mailing lists