Page MenuHomeFreeBSD

[conf] reduce kernel size if there is no iflib & usb
Needs ReviewPublic

Authored by mizhka on May 27 2019, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 21 2025, 11:42 AM
Unknown Object (File)
Feb 4 2025, 4:24 PM
Unknown Object (File)
Jan 8 2025, 9:35 AM
Unknown Object (File)
Nov 18 2024, 8:41 AM
Unknown Object (File)
Oct 29 2024, 12:17 PM
Unknown Object (File)
Oct 29 2024, 8:35 AM
Unknown Object (File)
Oct 26 2024, 12:04 PM
Unknown Object (File)
Oct 20 2024, 9:37 PM
Subscribers

Details

Reviewers
adrian
Summary

This patch is going to reduce kernel size if USB and IFLIB support are not required. As "option usb" and "option iflib" are valid options, all related files could be included in kernel only if options are defined.

This is initial draft (tested only mips32 and only options off), more testing (amd64 generic, options on/off) is required.
Reviews from USB/IFLIB developers are welcome!

Test Plan

This is initial draft (tested only mips32 and only options off), more testing (amd64 generic, options on/off) is required.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I like this; but yeah we're going to need to add options iflib everywhere else to make the defaults work. Can you do that?

hm, the iflib bits are already in -head?