freebsd_network: Don't use depots for the large mbuf chunk caches.

This commit is contained in:
Augustin Cavalier
2025-01-27 12:53:11 -05:00
parent 1be0d390db
commit b0c44c8d4a
+4 -2
View File
@@ -323,10 +323,12 @@ init_mbufs()
sChunkCache = create_object_cache("mbuf chunks", MCLBYTES, 0); sChunkCache = create_object_cache("mbuf chunks", MCLBYTES, 0);
if (sChunkCache == NULL) if (sChunkCache == NULL)
goto clean; goto clean;
sJumbo9ChunkCache = create_object_cache("mbuf jumbo9 chunks", MJUM9BYTES, 0); sJumbo9ChunkCache = create_object_cache("mbuf jumbo9 chunks", MJUM9BYTES,
CACHE_NO_DEPOT);
if (sJumbo9ChunkCache == NULL) if (sJumbo9ChunkCache == NULL)
goto clean; goto clean;
sJumboPageSizeCache = create_object_cache("mbuf page chunks", MJUMPAGESIZE, 0); sJumboPageSizeCache = create_object_cache("mbuf page chunks", MJUMPAGESIZE,
CACHE_NO_DEPOT);
if (sJumboPageSizeCache == NULL) if (sJumboPageSizeCache == NULL)
goto clean; goto clean;
return B_OK; return B_OK;