Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244794

Re: [PATCH 0/7] userfault21 update

From Patrick Donnelly <batrick@batbytes.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/7] userfault21 update
Date 2015-10-12 17:10 +0200
Message-ID <qiMTD-2Aw-9@gated-at.bofh.it> (permalink)
References <pBGmR-1Fl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Andrea,

On Mon, Jun 15, 2015 at 1:22 PM, Andrea Arcangeli <aarcange@redhat.com> wrote:
> This is an incremental update to the userfaultfd code in -mm.

Sorry I'm late to this party. I'm curious how a ptrace monitor might
use a userfaultfd to handle faults in all of its tracees. Is this
possible without having each (newly forked) tracee "cooperate" by
creating a userfaultfd and passing that to the tracer?

Have you considered using one userfaultfd for an entire tree of
processes (signaled through a flag)? Would not a process id included
in the include/uapi/linux/userfaultfd.h:struct uffd_msg be sufficient
to disambiguate faults?

-- 
Patrick Donnelly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 0/7] userfault21 update Patrick Donnelly <batrick@batbytes.com> - 2015-10-12 17:10 +0200

csiph-web