# Re: \[PATCH v2 29/33\] iommu: Use put\_pages\_list

- From: Matthew Wilcox \<willy@infradead.org\>
- Date: 2021-12-01 19:45:06 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/12/6512700
- Thread: https://ratatoskr.run/linux-mm/2021/12/6512664/t.md

```text
On Wed, Dec 01, 2021 at 07:15:06PM +0100, Vlastimil Babka wrote:
> From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
> 
> 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 iommu code over to using put_pages_list().

FYI, this is going to have conflicts with
https://lore.kernel.org/lkml/cover.1637671820.git.robin.murphy@arm.com/

I'm not sure what the appropriate resolution is going to be here;
maybe hold back part of this patch series to the following merge
window to give the iommu people time to merge their own patches?

```
