Re: [Intel-IOMMU 02/10] Library routine for pre-allocat pool handling

From: Christoph Lameter
Date: Fri Jun 08 2007 - 18:55:21 EST


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.

> I want to be able to reserve certain amount of memory specifically for
> IOMMU purpose.

That is of course a problem unless you allocate memory beforehand.
Mempool?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/