Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760064AbZCTTCU (ORCPT ); Fri, 20 Mar 2009 15:02:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754499AbZCTTCF (ORCPT ); Fri, 20 Mar 2009 15:02:05 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:38715 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751689AbZCTTCE convert rfc822-to-8bit (ORCPT ); Fri, 20 Mar 2009 15:02:04 -0400 To: cl@linux-foundation.org, nitingupta910@gmail.com Subject: Re: [PATCH 2/3] xvmalloc memory allocator X-IlohaMail-Blah: penberg@cs.helsinki.fi X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12+pk-11 (On: iloha.cs.Helsinki.FI) In-Reply-To: Message-ID: From: "Pekka Enberg" CC: "Pekka Enberg" , "linux-kernel@vger.kernel.org" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Date: Fri, 20 Mar 2009 21:01:59 +0200 (EET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 16 On 3/20/2009, "Christoph Lameter" wrote: > > I think, with a bit playing around with interfaces, it can be turned into > > general purpose allocator (this will most probably lack highmem support). > > Then it would need to implement the SLAB api (see include/linux/slab.h). > Thus we are getting slab allocator #5. I do not see the point in that. As I suggested earlier, you should probably just move this into drivers/block/ and make it a private compcache allocator. -- 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/