making SCTP loadable and removing it from GENERIC

Eugene Grosbein eugen at grosbein.net
Thu Jul 9 19:01:39 UTC 2020


09.07.2020 23:59, Michael Tuexen wrote:

>> This may be relaxed with "sctp_enable" knob for /etc/rc.conf and new startup script
>> /etc/rc.d/sctp that: a) REQUIRE: kld; b) checks if sctp.ko already loaded and load it as needed;
>> c) applies sctp sysctl tuning from /etc/sysctl.conf for values that differ.
> The only difference between this and loading it from /boot/loader.conf I see
> is that the above also works on some PPC platforms. Am I missing something?

This is mostly optimization issue as kld_list from /etc/rc.conf is processed
when kernel is up and running so file system cache is engaged to cache directories etc.
Loader reads modules much slower especially for slow media like CompactFlash.

Also, some platforms like MIPS32 using U-Boot have no loader at all.
U-Boot may start kernel directly.


More information about the freebsd-net mailing list