mbuf: Fix jcluster support
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 13 Sep 2013 09:14:39 +0000 (17:14 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 13 Sep 2013 09:37:50 +0000 (17:37 +0800)
commitc83e573d02bea89e07d19abdff35f9c105f8bd32
treec09662bca8ffe1a11ba7951d6c7bba7b3008d8eb
parentb2a1979f6304b54da3ed165fdd056522f6c79c1d
mbuf: Fix jcluster support

- Free the jcluster to the correct objcache, which solves "jcluster mbuf"
  objcache exhaustion.
- By default, set the amount of the jclusters to half the amount of the
  normal clusters.  jcluster will be used on TCP sending path in the later
  commit to improve TSO performance for 10Ge.
- Add mbuf stat for jcluster; adjust netstat(1) to show it.
- Add m_getlj(), which will be used on TCP sending path in the later
  commit to improve TSO performnace for 10Ge.
sys/kern/uipc_mbuf.c
sys/sys/mbuf.h
usr.bin/netstat/main.c
usr.bin/netstat/mbuf.c
usr.bin/netstat/netstat.h