Re: filemon

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Wed, 31 Jul 2024 10:11:13 UTC
On Tue, 30 Jul 2024 16:20:10 +0100
void <void@f-m.fm> wrote:

> On Tue, Jul 30, 2024 at 11:57:07PM +0900, Tomoaki AOKI wrote:
> 
> >Another aspect is that loading multiple too large modules easily makes
> >boots crash. Staging area (memory region which loader allocates to load
> >kernel and modules, and maybe configured buffers) is limited.
> 
> This is why I went looking for filemon as kernel device in the manpage initially.
> Generally, in the kernel config I'll comment out stuff thats not going to be used
> and add stuff i know is needed, instead of using loader.conf or other methods.
> -- 

If so, linking filemon into kernel is a bad idea.
Still consumes staging area, as the kernel becomes larger.
Would suppress the size of module header, though.

Loading modules via /boot/loader.conf[.local] would be better limited
with what actually needed to boot (like zfs.ko for Root on ZFS) and
expricitly required to do so.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>