Page MenuHomeFreeBSD

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

Authored by markj on Thu, Dec 11, 4:37 PM.

Details

Reviewers
vmaffione
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