[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/10] RFC: userfault
From: |
Dave Hansen |
Subject: |
Re: [Qemu-devel] [PATCH 00/10] RFC: userfault |
Date: |
Thu, 03 Jul 2014 08:41:33 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 07/02/2014 09:50 AM, Andrea Arcangeli wrote:
> The MADV_USERFAULT feature should be generic enough that it can
> provide the userfaults to the Android volatile range feature too, on
> access of reclaimed volatile pages.
Maybe.
I certainly can't keep track of all the versions of the variations of
the volatile ranges patches. But, I don't think it's a given that this
can be reused. First of all, volatile ranges is trying to replace
ashmem and is going to require _some_ form of sharing. This mechanism,
being tightly coupled to anonymous memory at the moment, is not a close
fit for that.
It's also important to call out that this is a VMA-based mechanism. I
certainly can't predict what we'll merge for volatile ranges, but not
all of them are VMA-based. We'd also need a mechanism on top of this to
differentiate plain not-present pages from not-present-because-purged pages.
That said, I _think_ this might fit well in to what the Mozilla guys
wanted out of volatile ranges. I'm not confident about it, though.
- [Qemu-devel] [PATCH 09/10] userfaultfd: make userfaultfd_write non blocking, (continued)
- [Qemu-devel] [PATCH 09/10] userfaultfd: make userfaultfd_write non blocking, Andrea Arcangeli, 2014/07/02
- [Qemu-devel] [PATCH 10/10] userfaultfd: use VM_FAULT_RETRY in handle_userfault(), Andrea Arcangeli, 2014/07/02
- [Qemu-devel] [PATCH 06/10] mm: sys_remap_anon_pages, Andrea Arcangeli, 2014/07/02
- [Qemu-devel] [PATCH 08/10] userfaultfd: add new syscall to provide memory externalization, Andrea Arcangeli, 2014/07/02
- [Qemu-devel] [PATCH 03/10] mm: PT lock: export double_pt_lock/unlock, Andrea Arcangeli, 2014/07/02
- Re: [Qemu-devel] [PATCH 00/10] RFC: userfault, Andy Lutomirski, 2014/07/02
- Re: [Qemu-devel] [PATCH 00/10] RFC: userfault, Christopher Covington, 2014/07/03
- Re: [Qemu-devel] [PATCH 00/10] RFC: userfault,
Dave Hansen <=