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
| ||
|
Message-ID: <ZR1eRZhuR9OXNw+M@kernel.org> Date: Wed, 4 Oct 2023 14:44:53 +0200 From: Simon Horman <horms@...nel.org> To: Eric Dumazet <edumazet@...gle.com> Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org, eric.dumazet@...il.com Subject: Re: [PATCH net-next] net: skb_queue_purge_reason() optimizations On Tue, Oct 03, 2023 at 06:19:20PM +0000, Eric Dumazet wrote: > 1) Exit early if the list is empty. > > 2) splice the list into a local list, > so that we block hard irqs only once. > > Signed-off-by: Eric Dumazet <edumazet@...gle.com> Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists