Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751638AbXBVPeT (ORCPT ); Thu, 22 Feb 2007 10:34:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751653AbXBVPeT (ORCPT ); Thu, 22 Feb 2007 10:34:19 -0500 Received: from waste.org ([66.93.16.53]:41784 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638AbXBVPeS (ORCPT ); Thu, 22 Feb 2007 10:34:18 -0500 Date: Thu, 22 Feb 2007 09:21:39 -0600 From: Matt Mackall To: Pekka J Enberg Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, clameter@sgi.com, jsipek@fsl.cs.sunysb.edu Subject: Re: [PATCH 1/2] slab: introduce krealloc Message-ID: <20070222152139.GI23311@waste.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 22 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. > > Cc: Josef Sipek > Cc: Matt Mackall > Cc: Christoph Lameter > Signed-off-by: Pekka Enberg Acked-by: Matt Mackall -- Mathematics is the supreme nostalgia of our time. - 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/