Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755399AbcCTMmm (ORCPT ); Sun, 20 Mar 2016 08:42:42 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:56414 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755278AbcCTMme (ORCPT ); Sun, 20 Mar 2016 08:42:34 -0400 X-IBM-Helo: d06dlp03.portsmouth.uk.ibm.com X-IBM-MailFrom: rapoport@il.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org From: Mike Rapoport To: Andrea Arcangeli Cc: Pavel Emelyanov , LKML , linux-mm@kvack.org, Mike Rapoport , Mike Rapoport Subject: [PATCH 0/5] userfaultfd: extension for non cooperative uffd usage Date: Sun, 20 Mar 2016 14:42:16 +0200 Message-Id: <1458477741-6942-1-git-send-email-rapoport@il.ibm.com> X-Mailer: git-send-email 1.9.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16032012-0009-0000-0000-000008D2038D Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 29 Hi, This set is to address the issues that appear in userfaultfd usage scenarios when the task monitoring the uffd and the mm-owner do not cooperate to each other on VM changes such as remaps, madvises and fork()-s. The pacthes are essentially the same as in the prevoious respin (1), they've just been rebased on the current tree. [1] http://thread.gmane.org/gmane.linux.kernel.mm/132662 Pavel Emelyanov (5): uffd: Split the find_userfault() routine uffd: Add ability to report non-PF events from uffd descriptor uffd: Add fork() event uffd: Add mremap() event uffd: Add madvise() event for MADV_DONTNEED request fs/userfaultfd.c | 319 ++++++++++++++++++++++++++++++++++++++- include/linux/userfaultfd_k.h | 41 +++++ include/uapi/linux/userfaultfd.h | 28 +++- kernel/fork.c | 10 +- mm/madvise.c | 2 + mm/mremap.c | 17 ++- 6 files changed, 395 insertions(+), 22 deletions(-) -- 1.9.1