inpcb: Split portinfo token into tokens for porthash head
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 7 Dec 2015 06:33:51 +0000 (14:33 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 9 Dec 2015 02:21:14 +0000 (10:21 +0800)
commit0723a2850bdd1077c70bbdd8872087e13e4cc39c
tree6a642a530e872fbde011d137ea61e26f9c54efd8
parentc98688068db5d766bdb707c4eafdb16daac1cf2d
inpcb: Split portinfo token into tokens for porthash head

And use pooled token for porthash head.  This avoids another 10K/s
~20K/s contention during local port selection.
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/ip_divert.c
sys/netinet/raw_ip.c
sys/netinet/tcp_subr.c
sys/netinet/udp_usrreq.c
sys/netinet6/in6_pcb.c
sys/netinet6/in6_pcb.h
sys/netinet6/in6_src.c