mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 16:24:14 +00:00
![]() > On closer inspection, it appears that ss -p does a quadratic scan. It > rescans every entry in /proc/*/fd/* repeatedly (once per listening > port? per process? I don't remember what I figured out.) > > I humbly suggest that this is not a good idea. Yep, this is junk. Please give this patch a try: ss: Avoid quadradic complexity with '-p' Scan the process list of open sockets once, and store in a hash table to be used by subsequent find_user() calls. Reported-by: Steve Fink <sphink@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
.gitignore | ||
arpd.c | ||
ifstat.c | ||
lnstat_util.c | ||
lnstat.c | ||
lnstat.h | ||
Makefile | ||
nstat.c | ||
rtacct.c | ||
ss.c | ||
ssfilter.h | ||
ssfilter.y |