Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1176178AbdDYQ3y (ORCPT ); Tue, 25 Apr 2017 12:29:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60970 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1431788AbdDYQ3Y (ORCPT ); Tue, 25 Apr 2017 12:29:24 -0400 From: Mike Rapoport To: "Michael Kerrisk (man-pages)" Cc: Andrea Arcangeli , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-man@vger.kernel.org, Mike Rapoport Subject: [PATCH 1/5] userfaultfd.2: describe memory types that can be used from 4.11 Date: Tue, 25 Apr 2017 19:29:04 +0300 X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493137748-32452-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1493137748-32452-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17042516-0040-0000-0000-00000374AB08 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17042516-0041-0000-0000-0000251BACB2 Message-Id: <1493137748-32452-2-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-25_09:,, 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-1703280000 definitions=main-1704250296 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 26 Signed-off-by: Mike Rapoport --- 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 -- 1.9.1