Thread (13 messages) 13 messages, 8 authors, 2021-05-17

Re: [PULL] topic/iomem-mmap-vs-gup

flat view

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-05-06 22:31:09
Also in: dri-devel, linux-arm-kernel, linux-media, linux-samsung-soc, lkml

[ You had a really odd Reply-to on this one ]

On Mon, May 3, 2021 at 12:15 PM Daniel Vetter [off-list ref] wrote:
Anyway here's a small pull for you to ponder, now that the big ones are
all through.
Well, _now_ I'm all caught up. Knock wood. Anyway, time to look at it:
Follow-up to my pull from last merge window: kvm and vfio lost their
very unsafe use of follow_pfn, this appropriately marks up the very
last user for some userptr-as-buffer use-cases in media. There was
some resistance to outright removing it, maybe we can do this in a few
releases.
Hmm. So this looks mostly ok to me, although I think the change to the
nommu case is pretty ridiculous.

On nommu, unsafe_follow_pfn() should just be a wrapper around
follow_pfn(). There's no races when you can't remap anything. No?

Do the two media cases even work on nommu?

Finally - did you intend fo this to be a real pull request? Because
the email read to me like "think about this and tell me what you
think" rather than "please pull"..

And I have now fulfilled that "think about and tell me" part ;)

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