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: 
 <177043802282.1183264.13017146634925007603.git-patchwork-notify@kernel.org>
Date: Sat, 07 Feb 2026 04:20:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Qiliang Yuan <realwujing@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
 pabeni@...hat.com, brauner@...nel.org, kuniyu@...gle.com, jack@...e.cz,
 jlayton@...nel.org, yuanql9@...natelecom.cn, horms@...nel.org,
 netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6] netns: optimize netns cleaning by batching unhash_nsid
 calls

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Wed,  4 Feb 2026 02:48:42 -0500 you wrote:
> Currently, unhash_nsid() scans the entire system for each netns being
> killed, leading to O(M_dying_net * N_alive_net * N_id) complexity, as
> __peernet2id() also performs a linear search in the IDR.
> 
> Optimize this to O(N_alive_net * N_id) by batching unhash operations. Move
> unhash_nsid() out of the per-netns loop in cleanup_net() to perform a
> single-pass traversal over survivor namespaces.
> 
> [...]

Here is the summary with links:
  - [v6] netns: optimize netns cleaning by batching unhash_nsid calls
    https://git.kernel.org/netdev/net-next/c/7acee67a6bce

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ