Page MenuHomeFreeBSD

netmap: Let memory allocator parameters be settable via loader.conf
ClosedPublic

Authored by markj on Dec 11 2025, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 8, 2:41 AM
Unknown Object (File)
Tue, Jan 6, 3:39 PM
Unknown Object (File)
Tue, Dec 30, 6:10 PM
Unknown Object (File)
Thu, Dec 25, 11:49 PM
Unknown Object (File)
Thu, Dec 25, 2:48 AM
Unknown Object (File)
Wed, Dec 17, 4:12 PM
Unknown Object (File)
Wed, Dec 17, 3:53 PM
Unknown Object (File)
Tue, Dec 16, 1:39 AM
Subscribers

Details

Summary

This is useful when dev.netmap.port_numa_affinity is set to 1. When
interfaces attach, they get a memory allocator that is copied from
nm_mem. Parameters in nm_mem can be set using sysctls, but this happens
after their values are copied.

To work around this, we can make it possible to set these memory
parameters as tunables.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69184
Build 66067: arc lint + arc unit