Page MenuHomeFreeBSD

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

Authored by markj on Thu, Dec 11, 4:37 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Mon, Dec 15, 10:15 PM
Unknown Object (File)
Sun, Dec 14, 6:32 PM
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 Not Applicable
Unit
Tests Not Applicable