On Wed, 2007-06-20 at 23:37 -0700, Keshavamurthy, Anil S wrote: > On Thu, Jun 21, 2007 at 08:29:34AM +0200, Peter Zijlstra wrote: > > On Wed, 2007-06-20 at 23:11 -0700, Arjan van de Ven wrote: > > > Peter Zijlstra wrote: > > Also, the other iommu code you pointed me to, was happy to fail, it did > > not attempt to use the emergency reserves. > > Is the same behavior acceptable here? I would say it is. Failure is a part of life. If you have a (small) mempool with 16 pages or so, that should give you plenty megabytes of io-space to get out of a tight spot. That is, you can queue many pages with that. If it is depleted you know you have at least that many pages outstanding. So failing will just delay the next pages. Throughput is not a key issue when that low on memory, a guarantee of progress is. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: "Keshavamurthy, Anil S" <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- References:
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Peter Zijlstra <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Arjan van de Ven <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: "Siddha, Suresh B" <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Peter Zijlstra <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Arjan van de Ven <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Peter Zijlstra <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: "Keshavamurthy, Anil S" <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Peter Zijlstra <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Arjan van de Ven <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: Peter Zijlstra <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- From: "Keshavamurthy, Anil S" <[email protected]>
- Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- Prev by Date: Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
- Next by Date: Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
- Previous by thread: Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- Next by thread: Re: [Intel IOMMU 06/10] Avoid memory allocation failures in dma map api calls
- Index(es):