From owner-freebsd-arch@FreeBSD.ORG Tue Sep 4 23:37:28 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 9D738106573C; Tue, 4 Sep 2012 23:37:28 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id EC7678FC12; Tue, 4 Sep 2012 23:37:27 +0000 (UTC) Received: by iayy25 with SMTP id y25so240193iay.13 for ; Tue, 04 Sep 2012 16:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GxysXVR+EzCS6fPeNPbcAlSWzkgP3gefxl5myc8GRtA=; b=DDwSOdGEci4bFRN/1iA17O9T2hHAqDcE93aTJBzWL3kq6ajBdwfUljMaH2f03xfLjK NSsAEA9sOEhIUP1gFiFoCTpZrk/uhQe0B/Ai0nKbk/XEoBjXQ0/P/Gtqu1P6nQLzfjv6 XP20qVhelFJ+rPqE+dShcl3N1V2J46cnIpF/s2nlEOzwX1RgMhqkXF4wIEt3w9S0+Fm5 O9SPJ31C9sOu3RyHTTuwIPkCgqU4xhfp4B8tUKRL8ToF32SF9zlY6F9IIlCiZyEzlXR6 KXEef6J1eUY8wAzadB6OpcARZpXyoo3tqcH4OrpWZiI+os+pDwH1w9bTuOLcMKcJ4QuG 1wOA== MIME-Version: 1.0 Received: by 10.60.13.232 with SMTP id k8mr16231826oec.81.1346801847419; Tue, 04 Sep 2012 16:37:27 -0700 (PDT) Received: by 10.76.142.201 with HTTP; Tue, 4 Sep 2012 16:37:27 -0700 (PDT) In-Reply-To: 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 16:37:27 -0700 Message-ID: From: Garrett Cooper To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: Andrey Zonov , Edward Tomasz Napierala , Andriy Gapon , 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 23:37:28 -0000 On Tue, Sep 4, 2012 at 3:17 PM, Adrian Chadd wrote: > 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. :-) Hear hear! -Garrett