[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210301174716.GQ4247@nvidia.com>
Date: Mon, 1 Mar 2021 13:47:16 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Alistair Popple <apopple@...dia.com>
CC: <linux-mm@...ck.org>, <nouveau@...ts.freedesktop.org>,
<bskeggs@...hat.com>, <akpm@...ux-foundation.org>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <jhubbard@...dia.com>,
<rcampbell@...dia.com>, <jglisse@...hat.com>, <hch@...radead.org>,
<daniel@...ll.ch>
Subject: Re: [PATCH v3 2/8] mm/swapops: Rework swap entry manipulation code
On Fri, Feb 26, 2021 at 06:18:26PM +1100, Alistair Popple wrote:
> Both migration and device private pages use special swap entries which
> are manipluated by a range of inline functions. The arguments to these
> are somewhat inconsitent so rework them to remove flag type arguments
> and to make the arguments similar for both a read and write entry
> creation.
>
> Signed-off-by: Alistair Popple <apopple@...dia.com>
> ---
> include/linux/swapops.h | 56 ++++++++++++++++++++++-------------------
> mm/debug_vm_pgtable.c | 12 ++++-----
> mm/hmm.c | 2 +-
> mm/huge_memory.c | 26 +++++++++++++------
> mm/hugetlb.c | 10 +++++---
> mm/memory.c | 10 +++++---
> mm/migrate.c | 26 ++++++++++++++-----
> mm/mprotect.c | 10 +++++---
> mm/rmap.c | 10 +++++---
> 9 files changed, 100 insertions(+), 62 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
Powered by blists - more mailing lists