freebsd-src/usr.bin/sockstat
Gleb Smirnoff a83d596f43 sockstat(1): use tree(3) rbtree instead of hash
o Use tree to lookup by socket kvaddr. The size of hash is too big for a
  small virtual machine and at the same time too little for a large
  production server.  A tree would better fit here.
o For those pcbs, that don't have a socket associated, use a list.
o Provide a second tree to lookup by pcb kvaddr.  These removes full hash
  traversal when printing every unix(4) socket.

Reviewed by:		tuexen
Differential revision:	https://reviews.freebsd.org/D35724
2022-07-06 22:19:08 -07:00
..
Makefile
Makefile.depend
sockstat.1 sockstat: add -i to display inp_gencnt 2022-02-01 15:37:03 +01:00
sockstat.c sockstat(1): use tree(3) rbtree instead of hash 2022-07-06 22:19:08 -07:00