Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1431856AbdDYQaG (ORCPT ); Tue, 25 Apr 2017 12:30:06 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36011 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1431787AbdDYQ3Y (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 2/5] ioctl_userfaultfd.2: describe memory types that can be used from 4.11 Date: Tue, 25 Apr 2017 19:29:05 +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-0008-0000-0000-00000431AFC3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17042516-0009-0000-0000-00001D68B1B1 Message-Id: <1493137748-32452-3-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: 849 Lines: 29 Signed-off-by: Mike Rapoport --- man2/ioctl_userfaultfd.2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 66fbfdc..78abc4d 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -169,11 +169,15 @@ field was not zero. (Since Linux 4.3.) Register a memory address range with the userfaultfd object. The pages in the range must be "compatible". -In the current implementation, -.\" According to Mike Rapoport, this will change in Linux 4.11. + +Up to Linux kernel 4.11, only private anonymous ranges are compatible for registering with .BR UFFDIO_REGISTER . +Since Linux 4.11, +hugetlbfs and shared memory ranges are also compatible with +.BR UFFDIO_REGISTER . + The .I argp argument is a pointer to a -- 1.9.1