Re: [Nouveau] [PATCH 17/22] mm: remove hmm_devmem_add

2019-06-14 Thread Christoph Hellwig
On Thu, Jun 13, 2019 at 07:42:43PM +, Jason Gunthorpe wrote: > On Thu, Jun 13, 2019 at 11:43:20AM +0200, Christoph Hellwig wrote: > > There isn't really much value add in the hmm_devmem_add wrapper. Just > > factor out a little helper to find the resource, and otherwise let the > > driver

Re: [Nouveau] [PATCH 17/22] mm: remove hmm_devmem_add

2019-06-13 Thread Jason Gunthorpe
On Thu, Jun 13, 2019 at 11:43:20AM +0200, Christoph Hellwig wrote: > There isn't really much value add in the hmm_devmem_add wrapper. Just > factor out a little helper to find the resource, and otherwise let the > driver implement the dev_pagemap_ops directly. Was this commit message written

[Nouveau] [PATCH 17/22] mm: remove hmm_devmem_add

2019-06-13 Thread Christoph Hellwig
There isn't really much value add in the hmm_devmem_add wrapper. Just factor out a little helper to find the resource, and otherwise let the driver implement the dev_pagemap_ops directly. Signed-off-by: Christoph Hellwig --- Documentation/vm/hmm.rst | 26 include/linux/hmm.h |