cvs commit: src/sys/net route.c
Andre Oppermann
andre at FreeBSD.org
Wed Aug 11 10:26:56 PDT 2004
andre 2004-08-11 17:26:56 UTC
FreeBSD src repository
Modified files:
sys/net route.c
Log:
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
Revision Changes Path
1.106 +10 -4 src/sys/net/route.c
More information about the cvs-src
mailing list