From owner-freebsd-embedded@FreeBSD.ORG Wed Jun 16 13:54:56 2010 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54A1A106564A for ; Wed, 16 Jun 2010 13:54:56 +0000 (UTC) (envelope-from dmitryluhtionov@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DFE378FC1D for ; Wed, 16 Jun 2010 13:54:55 +0000 (UTC) Received: by wyb34 with SMTP id 34so2538238wyb.13 for ; Wed, 16 Jun 2010 06:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=78Xx1ctOpMWDANBgKHFH4Jtt3hDMV5K6SOc1iORxAy0=; b=woYDF5BlCZaBXe3jWCczlmFQuCHP3S2+VGlTvXS0Mr/X3qBbk8wfIraOuTOVDber0A /kuLpk+AUnEflDE+NYXmK9klnwiWWSTzBvOZF7DNC3AiQJGCybvXMoz7rUXigWi1Rs1T WutgFtKnS8zks+dLJp6eik6+K3ZXTfa4tjqrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rzFY+CFqqtUo6/jJTHGGA054m6Tw10xHTP9z3y2EPK0Nbd0CS6OcoLER5Vuc8coIPn sldE5rh0TT+cxS1e5ra0d5pQI/Jx7RYDALBFDREtTtDM4JN162OVjtAR+Es3EzrsIWvO BYY6ZnerDfS2DdmJQejsoTH7XZ2x6cUHvWstk= MIME-Version: 1.0 Received: by 10.216.168.200 with SMTP id k50mr596871wel.11.1276689783802; Wed, 16 Jun 2010 05:03:03 -0700 (PDT) Received: by 10.216.48.203 with HTTP; Wed, 16 Jun 2010 05:03:03 -0700 (PDT) Date: Wed, 16 Jun 2010 15:03:03 +0300 Message-ID: From: Dmitry Luhtionov To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: GEOM_DEBUG kernel option X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 13:54:56 -0000 I introduce new kernel option GEOM_DEBUG Its enabled on default, but disable it reduce runtime kernel size and slightly improve perfomance by disabling debug stuff in compile time On my amd64 machine compiling modules without GEOM_DEBUG option reduce size geom_mirror.ko from 130 to 77 kilobytes geom_label.ko from 44.5 to 33 kilobytes http://193.34.20.243/geom.20100611.patch