From owner-freebsd-arch@FreeBSD.ORG Tue Sep 4 22:17:44 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 555961065689; Tue, 4 Sep 2012 22:17:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 292008FC12; Tue, 4 Sep 2012 22:17:43 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp2so10217631pbb.13 for ; Tue, 04 Sep 2012 15:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WFV/jdSomBAX4oy1gw3KP28+aIFmBzeDiyGyn8f5a9Y=; b=0Mn9lDvQ3HPEA7LUuBUXDamkh/0LTnSGbM2+vZnEGrg1ZnC+qxf1TS3lVoT2pV7YjO kcWbvc84+fo4wDw3lb6feDut2iCrHcZ81Erhv4xAQjoSsAxwPcWw1vtD24FJ7TxhhKvh i0Zvs86EVah9j/dbb5Xh1ydrDXF2M9l4yDvcV3XojfYXljqmnYymxm0fxB/DnV845ezm 8AUhzmmxnc8NM0nxn2hCppu/EivSoJTSLrxBI9KBm/AglNmYXs1peTQR5+L4xoWt/DAA V6eiHHnTVCAe3l7kT1PsG06leAssk6xtnglYvFfPE7ndNwb6YZ1a5vfidRTd2ebmI+00 ZoLg== MIME-Version: 1.0 Received: by 10.68.227.233 with SMTP id sd9mr48939697pbc.48.1346797063028; Tue, 04 Sep 2012 15:17:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 4 Sep 2012 15:17:42 -0700 (PDT) In-Reply-To: <50463610.6070805@FreeBSD.org> References: <503DD433.2030108@FreeBSD.org> <201208290906.q7T96C9j032802@gw.catspoiler.org> <20120829092318.GW33100@deviant.kiev.zoral.com.ua> <503F2D24.8050103@FreeBSD.org> <503F476E.1010505@FreeBSD.org> <50463610.6070805@FreeBSD.org> Date: Tue, 4 Sep 2012 15:17:42 -0700 X-Google-Sender-Auth: pMXQwYEWCftFqbS1eSHLhgraL04 Message-ID: From: Adrian Chadd To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: Andrey Zonov , Edward Tomasz Napierala , freebsd-arch@freebsd.org Subject: Re: [patch] unprivileged mlock(2) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 22:17:44 -0000 Hi, On 4 September 2012 10:10, Andriy Gapon 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