Re: [PATCH]intel-iommu batched iotlb flushes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <muli@...>, <akpm@...>, <linux-kernel@...>, <linux-mm@...>
Date: Tuesday, February 12, 2008 - 11:54 am

On Tue, Feb 12, 2008 at 01:00:06AM -0800, David Miller wrote:

Something could be done:
we could enable drivers to have DMA-pools they manage that get mapped
and are re-used.

I would rather the DMA-pools be tied to PID's that way any bad behavior
would be limited to the address space of the process using the device.
I haven't thought about how hard this would be to do but it would be
nice.  I think this could be tricky.

Application sets up ring buffer of device DMA memory, passes this to
driver/stack.  Need to handle hitting high water marks and application
exit clean up sanely... 

--mgross

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]intel-iommu batched iotlb flushes, mark gross, (Mon Feb 11, 6:41 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 4:52 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 11:37 am)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 5:00 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 11:54 am)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 7:46 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 2:31 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 5:07 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Mon Feb 11, 7:27 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 12:05 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 12:34 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 3:55 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 4:21 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 2:10 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Wed Feb 13, 2:23 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 3:35 pm)