Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751631AbXBVPUJ (ORCPT ); Thu, 22 Feb 2007 10:20:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751633AbXBVPUI (ORCPT ); Thu, 22 Feb 2007 10:20:08 -0500 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:34912 "EHLO netops-testserver-4.corp.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751631AbXBVPUH (ORCPT ); Thu, 22 Feb 2007 10:20:07 -0500 Date: Thu, 22 Feb 2007 07:20:05 -0800 (PST) From: Christoph Lameter To: Pekka J Enberg cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, mpm@selenic.com, jsipek@fsl.cs.sunysb.edu Subject: Re: [PATCH 1/2] slab: introduce krealloc In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 590 Lines: 13 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. Acked-by: Christoph Lameter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/