Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

From
Jason Gunthorpe <jgg@ziepe.ca>
Date
2019-08-15 14:51:07
Also in
linux-fsdevel, linux-mm, lkml
Reply to
Jan Kara, 2019-08-15
On Thu, Aug 15, 2019 at 03:35:10PM +0200, Jan Kara wrote:
quoted
3) ODP case - GUP references to pages serving as DMA buffers, MMU notifiers
   used to synchronize with page_mkclean() and munmap() => normal page
   references are fine.
I want to add that I'd like to convert users in cases 1) and 2) from using
GUP to using differently named function. Users in case 3) can stay as they
are for now although ultimately I'd like to denote such use cases in a
special way as well...
3) users also want a special function and path, right now it is called
hmm_range_fault() but perhaps it would be good to harmonize it more
with the GUP infrastructure?

I'm not quite sure what the best plan for that is yet.

Jason
Thread (31 messages) 31 messages, 7 authors, last reply 2019-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help