Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 16:06:22 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Adding realloc()
Message-ID:  <20020313000622.GA32410@elvis.mu.org>
In-Reply-To: <200203122237.g2CMbbY67802@arch20m.dellroad.org>
References:  <20020312215305.GL92565@elvis.mu.org> <200203122237.g2CMbbY67802@arch20m.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Archie Cobbs <archie@dellroad.org> [020312 14:45] wrote:
> Alfred Perlstein writes:
> > > I've had the need for a realloc() in the kernel several times
> > > before and am having it once again. Finally figured it's time to
> > > do something about it.
> > 
> > Where is the update to malloc(9)?  What about reallocf?
> 
> Good points, thanks.. try this one instead.

That looks ok, afaik you could do some vm tricks to avoid having
to malloc/free when doing realloc()'s that are larger than PAGE_SIZE.

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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