lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [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

Powered by Openwall GNU/*/Linux Powered by OpenVZ