linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Garry <john.garry@huawei.com>
To: Matthew Wilcox <willy@infradead.org>,
	Joerg Roedel <joro@8bytes.org>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	Will Deacon <will@kernel.org>,
	David Woodhouse <dwmw2@infradead.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	"iommu@lists.linux-foundation.org"
	<iommu@lists.linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Robin Murphy <robin.murphy@arm.com>
Subject: Re: [RFC] iommu: Use put_pages_list
Date: Thu, 14 Oct 2021 12:52:31 +0100	[thread overview]
Message-ID: <5e147b84-f048-b5ff-09d6-ceffe4c2364a@huawei.com> (raw)
In-Reply-To: <YWgShKtp+89f1a/J@casper.infradead.org>

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@infradead.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(-)
>>>

  reply	other threads:[~2021-10-14 11:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 16:20 [RFC] iommu: Use put_pages_list Matthew Wilcox (Oracle)
2021-10-07 18:16 ` Matthew Wilcox
2021-10-14 11:20   ` Matthew Wilcox
2021-10-14 11:52     ` John Garry [this message]
2021-10-14 16:17       ` Robin Murphy
2021-10-14 16:32         ` Matthew Wilcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e147b84-f048-b5ff-09d6-ceffe4c2364a@huawei.com \
    --to=john.garry@huawei.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=will@kernel.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).