From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 14 19:12:30 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 427D116A4CE for ; Mon, 14 Feb 2005 19:12:30 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id BBFF043D3F for ; Mon, 14 Feb 2005 19:12:29 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 71670 invoked from network); 14 Feb 2005 19:12:28 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 14 Feb 2005 19:12:28 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 14 Feb 2005 13:12:27 -0600 (CST) From: Mike Silbersack To: Uwe Doering In-Reply-To: <42107119.5060700@geminix.org> Message-ID: <20050214131005.T839@odysseus.silby.com> References: <1108277558l.86500l.0l@BARTON> <20050213082128.GA68307@VARK.MIT.EDU> <1108349803l.26586l.0l@BARTON> <42107119.5060700@geminix.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-hackers@freebsd.org Subject: Re: malloc vs ptmalloc2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 19:12:30 -0000 On Mon, 14 Feb 2005, Uwe Doering wrote: > Just from memory, doesn't Linux' malloc require kernel support for re-mapping > memory regions, which is not available in FreeBSD? This issue came up in the > discussion about FreeBSD's anemic realloc performance. Or has this kernel > functionality been added to recent versions of FreeBSD? > > You may want to investigate this before you invest too much time into your > porting effort. > > Uwe > -- > Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers I thought that thread was speculative, with someone saying "it would be nice if realloc had kernel help", or something like that. However, if that feature is used by some malloc library which might be portable to FreeBSD (so that the feature's use can be shown), I'd suggest that someone contact Alan Cox (alc@freebsd.org) - he seems to be working on optimizing the VM system right now, so he'd be the person who could code up support for this feature quickest. Mike "Silby" Silbersack