Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2024 20:54:00 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Warner Losh <imp@bsdimp.com>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: filemon
Message-ID:  <86jzh26793.fsf@ltc.des.dev>
In-Reply-To: <f36ffaf3-dbd2-4f9b-a27d-923fb4fcb3fb@quip.cz> (Miroslav Lachman's message of "Tue, 30 Jul 2024 17:17:17 %2B0200")
References:  <ZqT6_a_0F8DCUsBm@int21h> <CAFDf7UKxhSu%2BqMGV1KahrSX9ho8vFut4avxNVX4D8QGa6%2B%2BTjQ@mail.gmail.com> <20240727170122.675f6bfe@ernst.home> <865xsn6ya9.fsf@ltc.des.dev> <a5471d18-7f88-4e24-8518-2c7a67ddd7f1@quip.cz> <CANCZdfoZ0Gy%2Bzq8YfmBYCgJPsWyxm-7bk0W0vTrzpwRts6vRgw@mail.gmail.com> <f36ffaf3-dbd2-4f9b-a27d-923fb4fcb3fb@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Miroslav Lachman <000.fbsd@quip.cz> writes:
> I'm a bit confused. If I understand it right, you say loader.conf
> causes less memory fragmentation, but DES said "it still increases low
> memory fragmentation". So what is true? And is this something to watch
> out for, or is memory fragmentation not such a big deal?

I used the wrong term.  The loader loads the kernel and modules into a
particular region of memory, while modules loaded after boot can go
anywhere.  Furthermore, modules loaded by the loader cannot be unloaded.
So loading modules pre-boot does not increase fragmentation, but it uses
up memory from a much more limited pool than loading them later.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86jzh26793.fsf>