[patch] unprivileged mlock(2)

Garrett Cooper yanegomi at gmail.com
Tue Sep 4 23:37:28 UTC 2012


On Tue, Sep 4, 2012 at 3:17 PM, Adrian Chadd <adrian at freebsd.org> wrote:
> 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. :-)

Hear hear!
-Garrett


More information about the freebsd-arch mailing list