Just to add some background on how ACL currently allocates memory:
ACL has two types of allocations:
1. The memory used for the ACL match trie is NUMA-aware.
This part relies on specific NUMA placement, so replacing rte_malloc
with
regular malloc/free is not feasible.
2. The temporary memory used during the build phase already uses
malloc/free,
since NUMA locality is not required there.
On 12/9/2025 3:29 AM, Stephen Hemminger wrote:
A lot of the problems would go away if ACL just used regular malloc/free more,
and rte_malloc/rte_free less. The existing rte_malloc is slow and fragments
badly