Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 13:12:27 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Uwe Doering <gemini@geminix.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: malloc vs ptmalloc2
Message-ID:  <20050214131005.T839@odysseus.silby.com>
In-Reply-To: <42107119.5060700@geminix.org>
References:  <1108277558l.86500l.0l@BARTON> <20050213082128.GA68307@VARK.MIT.EDU> <1108349803l.26586l.0l@BARTON> <42107119.5060700@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050214131005.T839>