Date: Thu, 9 Jul 2020 21:41:26 +0200 From: Michael Tuexen <tuexen@freebsd.org> To: Eugene Grosbein <eugen@grosbein.net> Cc: Mark Johnston <markj@freebsd.org>, freebsd-net@freebsd.org Subject: Re: making SCTP loadable and removing it from GENERIC Message-ID: <F7C45C06-9D59-4DBD-8436-2392BD9AC496@freebsd.org> In-Reply-To: <e503eef9-b0a1-8e84-0903-d087393b4e1c@grosbein.net> 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> <e503eef9-b0a1-8e84-0903-d087393b4e1c@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 9. Jul 2020, at 21:01, Eugene Grosbein <eugen@grosbein.net> wrote: >=20 > 09.07.2020 23:59, Michael Tuexen wrote: >=20 >>> 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? >=20 > 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. OK. Thank you for the explanation. >=20 > Also, some platforms like MIPS32 using U-Boot have no loader at all. > U-Boot may start kernel directly. I know. The only platform I'm personally affected is 64-bit PPC using petitboot. But I can compile SCTP in the kernel and have no problem with this limitation. However, loading with kld_list and Marks patch to run sysctl = initialisation after that would be a perfect fit for an SCTP module. I really like = that, but I have no idea whether this fits in the architecture or not... Best regards Michael > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F7C45C06-9D59-4DBD-8436-2392BD9AC496>