Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751671AbXBVST0 (ORCPT ); Thu, 22 Feb 2007 13:19:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751744AbXBVST0 (ORCPT ); Thu, 22 Feb 2007 13:19:26 -0500 Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:49191 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751664AbXBVST0 (ORCPT ); Thu, 22 Feb 2007 13:19:26 -0500 Date: Thu, 22 Feb 2007 13:19:13 -0500 From: Josef Sipek To: Pekka J Enberg Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, mpm@selenic.com, clameter@sgi.com Subject: Re: [PATCH 1/2] slab: introduce krealloc Message-ID: <20070222181913.GA29841@filer.fsl.cs.sunysb.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 664 Lines: 14 On Thu, Feb 22, 2007 at 02:40:22PM +0200, Pekka J Enberg wrote: > From: Pekka Enberg > > 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: Josef 'Jeff' Sipek - 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/