Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1432137AbdDZGwb (ORCPT ); Wed, 26 Apr 2017 02:52:31 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33458 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1430316AbdDZGwV (ORCPT ); Wed, 26 Apr 2017 02:52:21 -0400 Subject: Re: [PATCH 1/5] userfaultfd.2: describe memory types that can be used from 4.11 To: Mike Rapoport References: <1493137748-32452-1-git-send-email-rppt@linux.vnet.ibm.com> <1493137748-32452-2-git-send-email-rppt@linux.vnet.ibm.com> Cc: mtk.manpages@gmail.com, Andrea Arcangeli , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-man@vger.kernel.org From: "Michael Kerrisk (man-pages)" Message-ID: Date: Wed, 26 Apr 2017 08:52:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1493137748-32452-2-git-send-email-rppt@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 41 On 04/25/2017 06:29 PM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport Thanks, Mike. Applied. Cheers, Michael > --- > man2/userfaultfd.2 | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 > index 1603c20..c89484f 100644 > --- a/man2/userfaultfd.2 > +++ b/man2/userfaultfd.2 > @@ -130,8 +130,12 @@ Details of the various > operations can be found in > .BR ioctl_userfaultfd (2). > > -Currently, userfaultfd can be used only with anonymous private memory > -mappings. > +Up to Linux 4.11, > +userfaultfd can be used only with anonymous private memory mappings. > + > +Since Linux 4.11, > +userfaultfd can be also used with hugetlbfs and shared memory mappings. > + > .\" > .SS Reading from the userfaultfd structure > Each > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/