]> www.infradead.org Git - users/willy/linux.git/commit
iommu: Use put_pages_list
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 30 Sep 2021 02:49:59 +0000 (22:49 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 4 Oct 2021 13:31:03 +0000 (09:31 -0400)
commit7db9884dfd8dc52b500a3da7e4724f584bdd69a8
treeb6ba2a0815dc4ecc8416df25592e23ad109fb36b
parent5fda6d05e0c9b08142c68ac37027064f7d4ee2e1
iommu: Use put_pages_list

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 free_pages_list().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
drivers/iommu/amd/io_pgtable.c
drivers/iommu/dma-iommu.c
drivers/iommu/intel/iommu.c
include/linux/iommu.h