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] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa191780-c625-4e13-8dc0-6ea3760b6104@yandex.ru>
Date: Wed, 13 Mar 2024 13:28:12 +0300
From: Dmitry Antipov <dmantipov@...dex.ru>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Oliver Hartkopp <socketcan@...tkopp.net>,
 Marc Kleine-Budde <mkl@...gutronix.de>, linux-can@...r.kernel.org,
 netdev@...r.kernel.org
Subject: Re: [PATCH] can: gw: prefer kfree_rcu() over call_rcu() with
 cgw_job_free_rcu()

On 3/13/24 13:18, Eric Dumazet wrote:

> kmem_cache_free() is not the same than kfree()
> 
> Unless I have missed something in mm territory , your patch is not
> going to work.

Hm... it seems that you're better to check include/linux/rcupdate.h
and the comment before kfree_rcu() definition in particular.

Dmitry


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ