[Nouveau] [PATCH 03/25] mm: remove hmm_devmem_add_resource

Christoph Hellwig hch at lst.de
Thu Jun 27 16:54:28 UTC 2019


On Thu, Jun 27, 2019 at 04:18:22PM +0000, Jason Gunthorpe wrote:
> On Wed, Jun 26, 2019 at 02:27:02PM +0200, Christoph Hellwig wrote:
> > This function has never been used since it was first added to the kernel
> > more than a year and a half ago, and if we ever grow a consumer of the
> > MEMORY_DEVICE_PUBLIC infrastructure it can easily use devm_memremap_pages
> > directly.
> > 
> > Signed-off-by: Christoph Hellwig <hch at lst.de>
> > Reviewed-by: Jason Gunthorpe <jgg at mellanox.com>
> > Reviewed-by: John Hubbard <jhubbard at nvidia.com>
> > Acked-by: Michal Hocko <mhocko at suse.com>
> > ---
> >  include/linux/hmm.h |  3 ---
> >  mm/hmm.c            | 50 ---------------------------------------------
> >  2 files changed, 53 deletions(-)
> 
> This should be squashed to the new earlier patch?

We could do that.  Do you just want to do that when you apply it?


More information about the Nouveau mailing list