[patch] unprivileged mlock(2)

Adrian Chadd adrian at freebsd.org
Tue Sep 4 22:17:44 UTC 2012


Hi,

On 4 September 2012 10:10, Andriy Gapon <avg at freebsd.org> wrote:

> And it also makes me wonder why kern/kern_racct.c is marked as standard while
> all(?) uses of racct API are placed under RACCT option.
> Ditto for kern_rctl.c/RCTL.
> I think that excluding these file if the options are not used would help to catch
> cases where the API is used unconditionally and it would also help to reduce
> kernel sizes a tiny bit too.

Thank you very much for considering kernel bloat here. It's this exact
kind of tiny bloat that has caused FreeBSD to blow up through "death
by a thousand cuts".

Anything that we can keep from growing the kernel size is going to
make it easier to embed on smaller devices - and there's many, many
more embedded targets out there these days versus "PCs" (or macs. :-)



Adrian


More information about the freebsd-arch mailing list