Thread (1 message) 1 message, 1 author, 2018-03-06

Re: [PATCH 07/37] iommu: Add a page fault handler

From: <hidden>
Date: 2018-03-06 12:52:37
Also in: kvm, linux-acpi, linux-arm-kernel, linux-iommu, linux-pci

On 2018-03-06 05:46, Jean-Philippe Brucker wrote:
On 05/03/18 21:53, Sinan Kaya wrote:
quoted
On 2/12/2018 1:33 PM, Jean-Philippe Brucker wrote:
quoted
+static struct workqueue_struct *iommu_fault_queue;
Is there anyway we can make this fault queue per struct device?
Since this is common code, I think it needs some care.
I don't think it's better, the workqueue struct seems large. Maybe 
having
one wq per IOMMU is a good compromise?
Yes, one per iommu sounds reasonable.


As said in my other reply for this
patch, doing so isn't completely straightforward. I'll consider adding 
an
iommu pointer to the iommu_param struct attached to each device.

Thanks,
Jean
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" 
in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help