mirror of
https://github.com/opnsense/src.git
synced 2026-03-06 15:20:53 -05:00
compile-time constants). That is, a "bucket" now is not necessarily
a page-worth of mbufs or clusters, but it is MBUF_BUCK_SZ, CLUS_BUCK_SZ
worth of mbufs, clusters.
o Rename {mbuf,clust}_limit to {mbuf,clust}_hiwm and introduce
{mbuf,clust}_lowm, which currently has no effect but will be used
to set the low watermarks.
o Fix netstat so that it can deal with the differently-sized buckets
and teach it about the low watermarks too.
o Make sure the per-cpu stats for an absent CPU has mb_active set to 0,
explicitly.
o Get rid of the allocate refcounts from mbuf map mess. Instead,
just malloc() the refcounts in one shot from mbuf_init()
o Clean up / update comments in subr_mbuf.c
|
||
|---|---|---|
| .. | ||
| atalk.c | ||
| if.c | ||
| inet.c | ||
| inet6.c | ||
| ipsec.c | ||
| ipx.c | ||
| iso.c | ||
| main.c | ||
| Makefile | ||
| mbuf.c | ||
| mroute.c | ||
| mroute6.c | ||
| netgraph.c | ||
| netstat.1 | ||
| netstat.h | ||
| ns.c | ||
| route.c | ||
| unix.c | ||