[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190615143043.GA27825@lst.de>
Date: Sat, 15 Jun 2019 16:30:43 +0200
From: Christoph Hellwig <hch@....de>
To: John Hubbard <jhubbard@...dia.com>
Cc: Christoph Hellwig <hch@....de>,
Dan Williams <dan.j.williams@...el.com>,
Jérôme Glisse <jglisse@...hat.com>,
Jason Gunthorpe <jgg@...lanox.com>,
Ben Skeggs <bskeggs@...hat.com>, linux-mm@...ck.org,
nouveau@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-nvdimm@...ts.01.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 06/22] mm: factor out a devm_request_free_mem_region
helper
On Fri, Jun 14, 2019 at 07:21:54PM -0700, John Hubbard wrote:
> On 6/13/19 2:43 AM, Christoph Hellwig wrote:
> > Keep the physical address allocation that hmm_add_device does with the
> > rest of the resource code, and allow future reuse of it without the hmm
> > wrapper.
> >
> > Signed-off-by: Christoph Hellwig <hch@....de>
> > ---
> > include/linux/ioport.h | 2 ++
> > kernel/resource.c | 39 +++++++++++++++++++++++++++++++++++++++
> > mm/hmm.c | 33 ++++-----------------------------
> > 3 files changed, 45 insertions(+), 29 deletions(-)
>
> Some trivial typos noted below, but this accurately moves the code
> into a helper routine, looks good.
Thanks for the typo spotting. These two actually were copy and pasted
from the original hmm code, but I'll gladly fix them for the next
iteration.
Powered by blists - more mailing lists