From owner-freebsd-current@FreeBSD.ORG Thu Jun 15 01:16:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F07F16A583 for ; Thu, 15 Jun 2006 01:16:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53F6043D45 for ; Thu, 15 Jun 2006 01:16:54 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k5F1GZh4014053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Jun 2006 04:16:37 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k5F1Ip4t014659; Thu, 15 Jun 2006 04:18:51 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k5F1IoN5014658; Thu, 15 Jun 2006 04:18:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) To: Beech Rintoul References: <200606141704.30667.freebsd@alaskaparadise.com> From: Giorgos Keramidas Date: Thu, 15 Jun 2006 04:18:50 +0300 In-Reply-To: <200606141704.30667.freebsd@alaskaparadise.com> (Beech Rintoul's message of "Wed, 14 Jun 2006 17:04:14 -0800") Message-ID: <86fyi72p39.fsf@gothmog.pc> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.146, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 1.25, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: malloc.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 01:16:56 -0000 On Wed, 14 Jun 2006 17:04:14 -0800, Beech Rintoul wrote: > I forgot to define NO_MALLOC_EXTRAS in malloc.c on one of my > test machines and I'm taking a noticeable performance hit. How > do I just rebuild libc without rebuilding userland? This box is > only 500 MHz and a system rebuild takes quite a while. Even if you rebuild libc, you may still have to rebuild a lot of stuff, i.e. static libraries and static binaries. Are you sure it is worth your time to try rebuilding the system in pieces, as you find they need to be rebuilt, instead of just using the usual buildworld/buildkernel cycle?