Date: Tue, 12 Mar 2002 17:38:52 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Alfred Perlstein <bright@mu.org> Cc: freebsd-current@freebsd.org Subject: Re: Adding realloc() Message-ID: <200203130138.g2D1cqh68436@arch20m.dellroad.org> In-Reply-To: <20020313000622.GA32410@elvis.mu.org> "from Alfred Perlstein at Mar 12, 2002 04:06:22 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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. Yeah I was wondering about that & how hard it would be. That'd be the next step I guess.. thanks for the comments. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com 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?200203130138.g2D1cqh68436>