[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0706110908440.15326@schroedinger.engr.sgi.com>
Date: Mon, 11 Jun 2007 09:10:08 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Arjan van de Ven <arjan@...ux.intel.com>
cc: "Keshavamurthy, Anil S" <anil.s.keshavamurthy@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, ak@...e.de, gregkh@...e.de,
muli@...ibm.com, asit.k.mallick@...el.com,
suresh.b.siddha@...el.com, ashok.raj@...el.com,
shaohua.li@...el.com, davem@...emloft.net
Subject: Re: [Intel-IOMMU 02/10] Library routine for pre-allocat pool handling
On Sun, 10 Jun 2007, Arjan van de Ven wrote:
> Christoph Lameter wrote:
> > On Fri, 8 Jun 2007, Keshavamurthy, Anil S wrote:
> >
> > > > What functionality are you missing in the page allocator? It seems that
> > > > is does what you want?
> > > Humm..I basically want to allocate memory during interrupt context and
> > > expect not to fail. I know this is a hard requirement :)
> >
> > The page allocator can do that for you. The reserves are configurable. Not
> > failing is a thing unseen in the computer world.
>
> but the page allocator reserve is shared.. and you will need this one EXACTLY
> when the shared pool is getting low... it's not an uncorrelated thing!
I think what needs to be done first is to define under what conditions the
allocation should not fail. There is certainly no way to have GFP_ATOMIC
allocation that never fail. After all memory is limited and at some point
we need to reclaim memory.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists