summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-08-11 17:08:31 +0000
committerandre <andre@FreeBSD.org>2004-08-11 17:08:31 +0000
commita6a5e265033b2ba98f1d1f08c1f7404229ac27e1 (patch)
tree6b4b966bd7aafa3eb02bdef166df3366e5ad387f /sys/netinet/udp_usrreq.c
parentf9ec393252e97bbff50496d89427d53088916272 (diff)
downloadFreeBSD-src-a6a5e265033b2ba98f1d1f08c1f7404229ac27e1.zip
FreeBSD-src-a6a5e265033b2ba98f1d1f08c1f7404229ac27e1.tar.gz
Remove the UMA_ZONE_NOFREE flag to all uma_zcreate() calls in the IP and
TCP code. This flag would have prevented giving back excessive free slabs to the global pool after a transient peak usage.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index dc95f4bd2..1882578 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -155,7 +155,7 @@ udp_init()
udbinfo.porthashbase = hashinit(UDBHASHSIZE, M_PCB,
&udbinfo.porthashmask);
udbinfo.ipi_zone = uma_zcreate("udpcb", sizeof(struct inpcb), NULL,
- NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
uma_zone_set_max(udbinfo.ipi_zone, maxsockets);
}
OpenPOWER on IntegriCloud