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


Groups > linux.kernel > #1571280

Re: [PATCH v2 2/5] userfaultfd: non-cooperative: add event for memory unmaps

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Mike Rapoport <rppt@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/5] userfaultfd: non-cooperative: add event for memory unmaps
Date Wed, 01 Feb 2017 07:40:01 +0100
Message-ID <t5WKd-2n7-5@gated-at.bofh.it> (permalink)
References <t4lto-nR-25@gated-at.bofh.it> <t4mz8-11M-21@gated-at.bofh.it> <t5Rhw-7s5-5@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
X-Tm-As-Gconf 00
X-Content-Scanned Fidelis XPS MAILER
X-Cbid 17020106-0036-0000-0000-00000363AD60
X-Ibm-Av-Detection SAVI=unused REMOTE=unused XFE=unused
X-Cbparentid 17020106-0037-0000-0000-000014F457EF
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2017-01-31_12:,, signatures=0
X-Proofpoint-Spam-Details rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702010064
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 24
Organization linux.* mail to news gateway
X-Original-Cc Andrea Arcangeli <aarcange@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Hillf Danton <hillf.zj@alibaba-inc.com>, Mike Kravetz <mike.kravetz@oracle.com>, Pavel Emelyanov <xemul@virtuozzo.com>, Linux-MM <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org>
X-Original-Date Wed, 1 Feb 2017 08:37:48 +0200
X-Original-Message-ID <20170201063748.GB7921@rapoport-lnx>
X-Original-References <1485542673-24387-1-git-send-email-rppt@linux.vnet.ibm.com> <1485542673-24387-3-git-send-email-rppt@linux.vnet.ibm.com> <20170131163928.4e4e05fbd93358d9b937d79b@linux-foundation.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1571280

Show key headers only | View raw


On Tue, Jan 31, 2017 at 04:39:28PM -0800, Andrew Morton wrote:
> On Fri, 27 Jan 2017 20:44:30 +0200 Mike Rapoport <rppt@linux.vnet.ibm.com> wrote:
> 
> > When a non-cooperative userfaultfd monitor copies pages in the background,
> > it may encounter regions that were already unmapped. Addition of
> > UFFD_EVENT_UNMAP allows the uffd monitor to track precisely changes in the
> > virtual memory layout.
> > 
> > Since there might be different uffd contexts for the affected VMAs, we
> > first should create a temporary representation for the unmap event for each
> > uffd context and then notify them one by one to the appropriate userfault
> > file descriptors.
> > 
> > The event notification occurs after the mmap_sem has been released.
> 
> I was going to bug you about not updating
> Documentation/vm/userfaultfd.txt but the UFFD_FEATURE flags aren't
> documented?
 
I'm going to send the documentation update in the next few days.

--
Sincerely yours,
Mike.

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


Thread

Re: [PATCH v2 2/5] userfaultfd: non-cooperative: add event for  memory unmaps Andrew Morton <akpm@linux-foundation.org> - 2017-02-01 01:50 +0100
  Re: [PATCH v2 2/5] userfaultfd: non-cooperative: add event for  memory unmaps Mike Rapoport <rppt@linux.vnet.ibm.com> - 2017-02-01 07:40 +0100

csiph-web