qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Linus Torvalds
Subject: Re: [Qemu-devel] [PATCH 10/17] mm: rmap preparation for remap_anon_pages
Date: Tue, 7 Oct 2014 08:47:59 -0400

On Mon, Oct 6, 2014 at 12:41 PM, Andrea Arcangeli <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]