Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2020 02:01:16 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Michael Tuexen <tuexen@freebsd.org>
Cc:        Mark Johnston <markj@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: making SCTP loadable and removing it from GENERIC
Message-ID:  <e503eef9-b0a1-8e84-0903-d087393b4e1c@grosbein.net>
In-Reply-To: <64E66BD2-99DA-4FBA-B5A9-03AE2C16C2DB@freebsd.org>
References:  <20200709151300.GC8947@raichu> <A8BC13AB-F2EC-4819-8920-17395A4DBE64@freebsd.org> <1a425cce-4905-1d2f-d5ee-cbeb1c300afc@grosbein.net> <64E66BD2-99DA-4FBA-B5A9-03AE2C16C2DB@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e503eef9-b0a1-8e84-0903-d087393b4e1c>