Re: [RESEND RFC PATCH 0/5] Remote mapping

From
Christian Brauner <hidden>
Date
2020-09-07 15:05:51
Also in
linux-mm
Reply to
Adalbert Lazăr, 2020-09-04
On Fri, Sep 04, 2020 at 02:31:11PM +0300, Adalbert Lazăr wrote:
This patchset adds support for the remote mapping feature.
Remote mapping, as its name suggests, is a means for transparent and
zero-copy access of a remote process' address space.
access of a remote process' address space.

The feature was designed according to a specification suggested by
Paolo Bonzini:
quoted
quoted
The proposed API is a new pidfd system call, through which the parent
can map portions of its virtual address space into a file descriptor
and then pass that file descriptor to a child.

This should be:

- upstreamable, pidfd is the new cool thing and we could sell it as a
better way to do PTRACE_{PEEK,POKE}DATA
In all honesty, that sentence made me a bit uneasy as it reads like this
is implemented on top of pidfds because it makes it more likely to go
upstream not because it is the right design. To be clear, I'm not
implying any sort of malicious intent on your part but I would suggest
to phrase this a little better. :)
Thread (40 messages) 40 messages, 12 authors, last reply 2020-12-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help