Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759639Ab2HJP0W (ORCPT ); Fri, 10 Aug 2012 11:26:22 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:44201 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758926Ab2HJP0S (ORCPT ); Fri, 10 Aug 2012 11:26:18 -0400 Date: Fri, 10 Aug 2012 10:26:04 -0500 From: Serge Hallyn To: Josh Triplett Cc: Alex Kelly , Alexander Viro , Heiko Carstens , "Eric W. Biederman" , "Paul E. McKenney" , Andrew Morton , Ingo Molnar , Kees Cook , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv4 2/3] fs: Make core dump functionality optional Message-ID: <20120810152604.GA27585@sergelap> References: <1344587169-18682-1-git-send-email-alex.page.kelly@gmail.com> <1344587169-18682-2-git-send-email-alex.page.kelly@gmail.com> <20120810132323.GA21048@sergelap> <20120810150157.GA23457@leaf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120810150157.GA23457@leaf> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1290 Lines: 26 Quoting Josh Triplett (josh@joshtriplett.org): > On Fri, Aug 10, 2012 at 08:23:23AM -0500, Serge Hallyn wrote: > > Quoting Alex Kelly (alex.page.kelly@gmail.com): > > > Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. > > > This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, > > > which now depends on it. > > > > Is there another reason than the 2.6k to do this? My kernels range > > between 4.8 and 5M, so that's .05% size savings? > > A kitchen-sink kernel might take up that much space, but you can build a > minimal embedded kernel that only takes up ~200k, at which point 2.6k > represents a >1% decrease. Add a few more changes like this, and those > decreases start to add up. At this point, no one thing you can chop out > of the kernel will give you a 100k decrease by itself; you need a pile > of changes like this one to do that. > > - Josh Triplett I see. That's an order of magnitude smaller than what i figured you'd get with a reasonable kernel :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/