Re: [PATCH 1/2] slab: introduce krealloc

2007-02-22 Thread Josef Sipek
On Thu, Feb 22, 2007 at 02:40:22PM +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This introduce krealloc() that reallocates memory while keeping the > contents unchanged. The allocator avoids reallocation if the new size > fits the currently used cache. I also added a s

Re: [PATCH 1/2] slab: introduce krealloc

2007-02-22 Thread Matt Mackall
On Thu, Feb 22, 2007 at 02:40:22PM +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This introduce krealloc() that reallocates memory while keeping the > contents unchanged. The allocator avoids reallocation if the new size > fits the currently used cache. I also added a s

Re: [PATCH 1/2] slab: introduce krealloc

2007-02-22 Thread Christoph Lameter
On Thu, 22 Feb 2007, Pekka J Enberg wrote: > This introduce krealloc() that reallocates memory while keeping the > contents unchanged. The allocator avoids reallocation if the new size > fits the currently used cache. I also added a simple non-optimized > version for mm/slob.c for compatibility.

[PATCH 1/2] slab: introduce krealloc

2007-02-22 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> This introduce krealloc() that reallocates memory while keeping the contents unchanged. The allocator avoids reallocation if the new size fits the currently used cache. I also added a simple non-optimized version for mm/slob.c for compatibility. Cc: Josef Si