CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/11/10 03:23:27

Modified files:
        sys/net        : art.c rtable.c 

Log message:
Allocate ART table's heap independently from the structure and use
pool(9) to not waste most of the memory allocated.

This reduces the memory overhead of our ART routing table from 80M
to 70M compared to the existing radix-tree when loading ~550K IPv4
routes.

ART can now be used for huge tables without exhausting malloc(9)'s
limit.

claudio@ agrees with the direction, inputs from and ok dlg@

Reply via email to