Subject: Re: RFC: mremap(2)
To: David Laight <david@l8s.co.uk>
From: Nicolas Joly <njoly@pasteur.fr>
List: tech-kern
Date: 07/05/2007 23:59:29
On Thu, Jul 05, 2007 at 07:51:56PM +0100, David Laight wrote:
> On Thu, Jul 05, 2007 at 09:46:56PM +0900, YAMAMOTO Takashi wrote:
> > > I would like to add the equivalent of mremap(2) from Linux for the use
> > > e.g. of malloc(3).
> > > 
> > > Prototype:
> > > 	void *mremap(void *oldp, size_t oldsize, void *newp,
> > > 		     size_t newsize, int flags)
> ...
> > 
> > before it goes in the tree, i'd like to see an actual user of the syscall.
> 
> I think there is a PR somewhere about the performance of our realloc()
> being somewhat suboptimal for large items.

Yes, lib/31425 and lib/36175.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.