Thread (47 messages) 47 messages, 9 authors, 2014-11-06

Re: [PATCH 10/17] mm: rmap preparation for remap_anon_pages

flat view

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2014-10-07 12:48:04
Also in: kvm, linux-mm, lkml, qemu-devel

On Mon, Oct 6, 2014 at 12:41 PM, Andrea Arcangeli [off-list ref] wrote:
Of course if somebody has better ideas on how to resolve an anonymous
userfault they're welcome.
So I'd *much* rather have a "write()" style interface (ie _copying_
bytes from user space into a newly allocated page that gets mapped)
than a "remap page" style interface

remapping anonymous pages involves page table games that really aren't
necessarily a good idea, and tlb invalidates for the old page etc.
Just don't do it.

           Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help