Re: [PATCH v3 6/9] iommu/vt-d: Use put_pages_list
From: Lu Baolu
Date: Sun Dec 19 2021 - 20:19:12 EST
Hi Robin,
On 12/17/21 11:31 PM, Robin Murphy wrote:
From: "Matthew Wilcox (Oracle)"<willy@xxxxxxxxxxxxx>
page->freelist is for the use of slab. We already have the ability
to free a list of pages in the core mm, but it requires the use of a
list_head and for the pages to be chained together through page->lru.
Switch the Intel IOMMU and IOVA code over to using free_pages_list().
Signed-off-by: Matthew Wilcox (Oracle)<willy@xxxxxxxxxxxxx>
[rm: split from original patch, cosmetic tweaks, fix fq entries]
Signed-off-by: Robin Murphy<robin.murphy@xxxxxxx>
I had boot tests on my development machines with both strict and lazy
flushing modes. I didn't see any regression, the disk i/o and network
i/o worked good for me.
For changes in iommu/vt-d:
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Best regards,
baolu