RE: [PATCH 5/6] dma-mapping/iommu: Add dma_set_max_opt_size()

2021-03-31 Thread Salil Mehta
(+) correction below, sorry for the typo in earlier post. > From: iommu [mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of > Robin Murphy > Sent: Friday, March 19, 2021 5:00 PM > To: John Garry ; j...@8bytes.org; w...@kernel.org; > j...@linux.ibm.com; martin.peter...@oracle.com;

RE: [PATCH 5/6] dma-mapping/iommu: Add dma_set_max_opt_size()

2021-03-31 Thread Salil Mehta
> From: iommu [mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of > Robin Murphy > Sent: Friday, March 19, 2021 5:00 PM > To: John Garry ; j...@8bytes.org; w...@kernel.org; > j...@linux.ibm.com; martin.peter...@oracle.com; h...@lst.de; > m.szyprow...@samsung.com > Cc:

RE: iommu_iova slab eats too much memory

2020-04-29 Thread Salil Mehta
> From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Wednesday, April 29, 2020 3:00 PM > To: Salil Mehta ; Bin > > On 2020-04-29 2:37 pm, Salil Mehta wrote: > > Hi Bin, > > > >> From: Bin [mailto:anole1...@gmail.com] > >> Sent: Wednesday

RE: iommu_iova slab eats too much memory

2020-04-29 Thread Salil Mehta
Hi Bin, > From: Bin [mailto:anole1...@gmail.com] > Sent: Wednesday, April 29, 2020 5:14 AM > To: Salil Mehta > Hi Shlil: > > Thank you for your attention, and these are my answers: > > 1. I don't really understand what you're saying. What's the difference > between

RE: iommu_iova slab eats too much memory

2020-04-28 Thread Salil Mehta
Hi Bin, Few questions: 1. If there is a leak of IOVA due to dma_unmap_* not being called somewhere then at certain point the throughput will drastically fall and will almost become equal to zero. This should be due to unavailability of the mapping anymore. But in your case VM is getting killed