Thread (75 messages) 75 messages, 5 authors, 2023-01-24

Re: [PATCH v8 10/10] mm: Renumber FOLL_PIN and FOLL_GET down

From: David Howells <dhowells@redhat.com>
Date: 2023-01-24 15:13:11
Also in: linux-fsdevel, linux-mm, lkml

Jason Gunthorpe [off-list ref] wrote:
Isn't that this:

if (cleanup_flags & PAGE_CLEANUP_NEEDED)
   gup_put_folio(folio, 1, cleanup_flags & PAGE_CLEANUP_UNPIN)


?
Yes.  As claimed, that would be three states.
Three states - decr get, decr pinned, do nothing?
Yes.  Don't worry about it.  I'm not going to do it in gup.c.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help