]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert the routing table to use an UMA zone for rtentries. The zone is
authorAndre Oppermann <andre@FreeBSD.org>
Wed, 11 Aug 2004 17:26:56 +0000 (17:26 +0000)
committerAndre Oppermann <andre@FreeBSD.org>
Wed, 11 Aug 2004 17:26:56 +0000 (17:26 +0000)
commit2dc1d58164100f488f2a6a75bda570a609b66220
tree718a7c47c3e4dbd15c93c657ea370e79649f2815
parenta9a74ddc37613436f13a62677a1b0f4ec40e822a
Convert the routing table to use an UMA zone for rtentries.  The zone is
called "rtentry".

This saves a considerable amount of kernel memory.  R_Zmalloc previously
used 256 byte blocks (plus kmalloc overhead) whereas UMA only needs 132
bytes.

Idea from: OpenBSD
sys/net/route.c