[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e147b84-f048-b5ff-09d6-ceffe4c2364a@huawei.com>
Date: Thu, 14 Oct 2021 12:52:31 +0100
From: John Garry <john.garry@...wei.com>
To: Matthew Wilcox <willy@...radead.org>,
Joerg Roedel <joro@...tes.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
Will Deacon <will@...nel.org>,
David Woodhouse <dwmw2@...radead.org>,
Lu Baolu <baolu.lu@...ux.intel.com>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Robin Murphy <robin.murphy@....com>
Subject: Re: [RFC] iommu: Use put_pages_list
On 14/10/2021 12:20, Matthew Wilcox wrote:
> I'm going to keep pinging this patch weekly.
>
> On Thu, Oct 07, 2021 at 07:17:02PM +0100, Matthew Wilcox wrote:
>> ping?
Robin, Were you checking this? You mentioned "I got
side-tracked trying to make io-pgtable use that freelist properly" in
another thread, which seems related.
Thanks,
John
>>
>> On Thu, Sep 30, 2021 at 05:20:42PM +0100, Matthew Wilcox (Oracle) wrote:
>>> 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@...radead.org>
>>> ---
>>> drivers/iommu/amd/io_pgtable.c | 99 +++++++++++++++-------------------
>>> drivers/iommu/dma-iommu.c | 11 +---
>>> drivers/iommu/intel/iommu.c | 89 +++++++++++-------------------
>>> include/linux/iommu.h | 3 +-
>>> 4 files changed, 77 insertions(+), 125 deletions(-)
>>>
Powered by blists - more mailing lists