Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S971385AbXFHWch (ORCPT ); Fri, 8 Jun 2007 18:32:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031588AbXFHWcL (ORCPT ); Fri, 8 Jun 2007 18:32:11 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:57722 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032423AbXFHWcJ (ORCPT ); Fri, 8 Jun 2007 18:32:09 -0400 Date: Fri, 8 Jun 2007 15:32:08 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: "Keshavamurthy, Anil S" cc: Andrew Morton , linux-kernel@vger.kernel.org, ak@suse.de, gregkh@suse.de, muli@il.ibm.com, asit.k.mallick@intel.com, suresh.b.siddha@intel.com, arjan@linux.intel.com, ashok.raj@intel.com, shaohua.li@intel.com, davem@davemloft.net Subject: Re: [Intel-IOMMU 02/10] Library routine for pre-allocat pool handling In-Reply-To: <20070608182156.GA24865@linux-os.sc.intel.com> Message-ID: References: <20070606185658.138237000@askeshav-devel.jf.intel.com> <20070606190042.510643000@askeshav-devel.jf.intel.com> <20070607162726.2236a296.akpm@linux-foundation.org> <20070608182156.GA24865@linux-os.sc.intel.com> 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: 866 Lines: 18 On Fri, 8 Jun 2007, Keshavamurthy, Anil S wrote: > In the IOMMU case, we need exactly opposite of what mempool provides, > i.e we always want to look for the element in the pool and if the pool > has no element then go to OS as a worst case. This resource pool > library routines do the same. Again, this resource pools > grows and shrinks automatically to maintain the minimum pool > elements in the background. I am not sure whether this totally > opposite functionality of mempools and resource pools can be > merged. What functionality are you missing in the page allocator? It seems that is does what you want? - 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/