From owner-freebsd-current@FreeBSD.ORG Thu Jun 15 16:46:21 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 7DD1C16A41A for ; Thu, 15 Jun 2006 16:46:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF9E043D48 for ; Thu, 15 Jun 2006 16:46:20 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k5FGkDFP048327; Thu, 15 Jun 2006 12:46:13 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 15 Jun 2006 12:46:07 -0400 User-Agent: KMail/1.9.1 References: <200606141704.30667.freebsd@alaskaparadise.com> In-Reply-To: <200606141704.30667.freebsd@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606151246.08363.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 15 Jun 2006 12:46:14 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1539/Wed Jun 14 10:21:49 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Beech Rintoul 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 16:46:21 -0000 On Wednesday 14 June 2006 21:04, 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. cd /usr/src/lib/libc make clean make cleandir make obj make depend make all make install Something like that should do it. You might have to rebuild any statically linked binaries as well (/sbin/init and /bin/sh) but fixing libc should probably solve most of your problems. -- John Baldwin