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


Groups > linux.kernel > #1244794

Re: [PATCH 0/7] userfault21 update

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Patrick Donnelly <batrick@batbytes.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/7] userfault21 update
Date Mon, 12 Oct 2015 17:10:01 +0200
Message-ID <qiMTD-2Aw-9@gated-at.bofh.it> (permalink)
References <pBGmR-1Fl-5@gated-at.bofh.it>
X-Original-To Andrea Arcangeli <aarcange@redhat.com>
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bSaOxK0cSNjNhImz98L9zEztmotePPvDspRqkFmjYX4=; b=b7M45cDk3l2ZU+xoz8gp4z/4Mzyl+Vl+qN3zXrfmN6juKRz+akQ+ymNO5EYrlpm7l4 /SGjPoEGmRcXXZnorx9gEvN0aNmMoiU/v7Wl2+ikQtsfwFaGTOmRXFeZkTwdSeup0qx6 S2GIngqDF9jCq5UTJAg+iKEI5lMoiyVoYsw94upEg9OjGPE7jAj2bba1ZMRnYX38tkaE 8Z+9i5ItJyrAziogP5Vw27gI45E4mo0qOqMx0EqtVKIuX7SUjBz8zeGKpFk9KGOMSQXE mWtFVF/gdQR04yFF05hFuHY+CBbAYaO35xNu3l7U1PpvYC6771W1iQJs9qVyzYCrK1rq 8p0Q==
X-Gm-Message-State ALoCoQmK8/8tdn8k3qhz9u1H8IH19sTQjVbWNAqgKhQixuYLEEzr7fz+8w3b9TL7tynMw1qC3yp5
MIME-Version 1.0
X-Received by 10.129.78.80 with SMTP id c77mr20696279ywb.345.1444662251716; Mon, 12 Oct 2015 08:04:11 -0700 (PDT)
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, open list <linux-kernel@vger.kernel.org>, linux-mm@kvack.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, Pavel Emelyanov <xemul@parallels.com>, Sanidhya Kashyap <sanidhya.gatech@gmail.com>, zhang.zhanghailiang@huawei.com, Linus Torvalds <torvalds@linux-foundation.org>, "Kirill A. Shutemov" <kirill@shutemov.name>, Andres Lagar-Cavilla <andreslc@google.com>, Dave Hansen <dave.hansen@intel.com>, Paolo Bonzini <pbonzini@redhat.com>, Rik van Riel <riel@redhat.com>, Mel Gorman <mgorman@suse.de>, Andy Lutomirski <luto@amacapital.net>, Hugh Dickins <hughd@google.com>, Peter Feiner <pfeiner@google.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Johannes Weiner <hannes@cmpxchg.org>, "Huangpeng (Peter)" <peter.huangpeng@huawei.com>
X-Original-Date Mon, 12 Oct 2015 11:04:11 -0400
X-Original-Message-ID <CACh33FoFK4tbKFgcvN3mBuW7V=pMjM=X7eO68Pp9+56pH4B-EQ@mail.gmail.com>
X-Original-References <1434388931-24487-1-git-send-email-aarcange@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1244794

Show key headers only | 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