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

[PATCH 03/37] iommu/sva: Manage process address spaces

From: Jean-Philippe Brucker <hidden>
Date: 2018-03-06 10:37:10
Also in: kvm, linux-acpi, linux-devicetree, linux-iommu, linux-pci

On 05/03/18 15:28, Sinan Kaya wrote:
On 2/12/2018 1:33 PM, Jean-Philippe Brucker wrote:
quoted
+static void io_mm_free(struct io_mm *io_mm)
+{
+	struct mm_struct *mm;
+	void (*release)(struct io_mm *);
+
+	release = io_mm->release;
+	mm = io_mm->mm;
+
+	release(io_mm);
Is there any reason why you can't call iommu->release()
here directly? Why do you need the release local variable?
I think I can remove the local variable

Thanks,
Jean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help