From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934256AbcHDSy1 (ORCPT ); Thu, 4 Aug 2016 14:54:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49066 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934070AbcHDSy0 (ORCPT ); Thu, 4 Aug 2016 14:54:26 -0400 Date: Thu, 4 Aug 2016 20:54:24 +0200 From: Andrea Arcangeli To: Mike Rapoport Cc: Hugh Dickins , Pavel Emelyanov , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] userfaultfd: add support for shared memory Message-ID: <20160804185424.evlipxlvnlymljtu@redhat.com> References: <1470298458-9925-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1470298458-9925-1-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: Mutt/1.6.2 (2016-06-11) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 04 Aug 2016 18:54:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mike, On Thu, Aug 04, 2016 at 11:14:11AM +0300, Mike Rapoport wrote: > These patches enable userfaultfd support for shared memory mappings. The > VMAs backed with shmem/tmpfs can be registered with userfaultfd which > allows management of page faults in these areas by userland. > > This patch set adds implementation of shmem_mcopy_atomic_pte for proper > handling of UFFDIO_COPY command. A callback to handle_userfault is added > to shmem page fault handling path. The userfaultfd register/unregister > methods are extended to allow shmem VMAs. > > The UFFDIO_ZEROPAGE and UFFDIO_REGISTER_MODE_WP are not implemented which > is reflected by userfaultfd API handshake methods. This looks great. I'm getting rejects during rebase but not because of your changes, I think I'll fold some patches that I originally fixed up incrementally, in order to reduce the reject churn. Thanks, Andrea