Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1629120pxb; Thu, 4 Mar 2021 16:55:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyybR2XszQC7hJeIcQzfGn1QtQIFCInDlKtJng8YDrmsMauMmID1Kim5zpwSNDpPcDCGIIA X-Received: by 2002:a6b:7e02:: with SMTP id i2mr5790450iom.120.1614905742925; Thu, 04 Mar 2021 16:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614905742; cv=none; d=google.com; s=arc-20160816; b=wnfIJQiVX5xjXx6WoCqhgTscliKiM/JR3tDM89eS0AKvvkE4MMgz5biYFSzNNpwPIw xKHJVkO8YD0Q1f2XBciG49XPbp8y6hAAj86+GahXyq8gnatNKQBWPYEp6dR0ufgOJmtE BeTw7LyqAfBkPaZ58mg8OhcbHthGZ/4TNy2RICTds3JH98+HJLyQgqIC5/EHQWurfGtA VBD+NDb2CCpTPCJuR9hVHD7rWARhGv84YiSrsXHjsMc15obLRC/WKZqc4DL0GYke3Da5 9MQl0Xk9xZzWTNpL/hlForRA3z2pUWqY6n9BfruEumoBhg8T+kcuKwH234+8YB+67L9u p1zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vVsAz+bfPua+BgXPwRsHjwhxV1PYCiqHXac39+Nd7vQ=; b=OI9R1Jp/G2e+F9eFuJ4+Cvfw2fogs4Aetnm89lzHE+ePzJgSNSgXQXk11h/U90nloC D7KX2bDi2ZdRunWptZ6D+MXEhytYb2RVmGRZzoCJlylEjMmqBD8KsNIiikIgIwgxAqbv 5lGbeyjOTwwpoLbzALxpZBWhySyv+hPlQx27Ta2FXgqsOcuwG8i/ncf6VogG9DJbDpD7 we4DL4+cW4AUwvGoJtGhgKMPaggKQRDwWwwj3m2yalg3PZSef/mEKsw33GFMqlvQHJql DzL8uUV52OPXG7YmZObgLi6ZAMTI2iaKcsSE3ZvCO5NjPLT8H5hbD4u/+1YA8PoL0WZv VOnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ht9DAia0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x21si849313jaq.64.2021.03.04.16.55.30; Thu, 04 Mar 2021 16:55:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ht9DAia0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbhCDR42 (ORCPT + 99 others); Thu, 4 Mar 2021 12:56:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232443AbhCDR4F (ORCPT ); Thu, 4 Mar 2021 12:56:05 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EB7BC061760 for ; Thu, 4 Mar 2021 09:55:25 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id k2so25637198ili.4 for ; Thu, 04 Mar 2021 09:55:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vVsAz+bfPua+BgXPwRsHjwhxV1PYCiqHXac39+Nd7vQ=; b=Ht9DAia0wRl1APiTezDx/62uZlAr7huxBCMyzegvKENlFmWag5T1fR9wZVFYXk46AO 2DL45TWPor0JU6xZaBQXcGETKh5oKTaKrptllgd/4FhFJ18XAnGEvXw0aTUTO2duXocp 7x4zr/V9wRLKlap3fHa1n2J5KMpcQuPb5x5dMgYmDe/YCYPLjh/iliUsPsLslzLaue6G s22qdLa5zOqU9l2zdn2T8PCBv3NhuZgYqX8cxNYr/2oA7TYChcRwbR2hWw8XT/Cjx2Bl WAOV5OXDESvk8TndQH7H3OJgTrgveItlr2DwN6TvdL/fGPegjzTIvVJ+A7UnPGaXd08I ltSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vVsAz+bfPua+BgXPwRsHjwhxV1PYCiqHXac39+Nd7vQ=; b=AZd/omdASEdxqUEmdok3CgoS++qhkWAinJWc5qhgIPvMKXEG2nI+tflVOXzZXaFJus bhCf2ZdNEanWYaxHqL74WQirHcEiG55smWEP85BH3DgEfatl1/TVDdqLQLm829Uo0+T6 i6XEOJIB2hwZLn0usbwFZr0bPrxhFR8C0EcH013OH2j2WoP7JwiNQWDB76EnRjlX4eqD wpzU08kzpDjDcysrTShOM+EbaX1uVjG7fIF3YXZbnitNacGZQYyvUtaa+2SEDTamcU5X BNcztj08MBbU/gInCD6BsGWmKt+j283l6pKePbjf+e6TsXv/9ae7AvwzR/3q8f/WwrEz i3vA== X-Gm-Message-State: AOAM531uW9rv7cqg+V/xNHCAIc87/Cwh077ghYmUeYFhA0XeDbT41gn3 c1hRVoj8VSaiYIz/WT4yEW5La8RvV+Qz9ypb/lUIrQ== X-Received: by 2002:a92:d8d1:: with SMTP id l17mr5120394ilo.85.1614880524843; Thu, 04 Mar 2021 09:55:24 -0800 (PST) MIME-Version: 1.0 References: <20210304163140.543171-1-peterx@redhat.com> In-Reply-To: <20210304163140.543171-1-peterx@redhat.com> From: Axel Rasmussen Date: Thu, 4 Mar 2021 09:54:49 -0800 Message-ID: Subject: Re: [PATCH v2 0/4] man2: udpate mm/userfaultfd manpages to latest To: Peter Xu Cc: linux-man@vger.kernel.org, Alejandro Colomar , Nadav Amit , Andrea Arcangeli , LKML , Michael Kerrisk , Mike Rapoport , Andrew Morton , Linux MM Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 4, 2021 at 8:31 AM Peter Xu wrote: > > v2 changes: > - Fix wordings as suggested [MikeR] > - convert ".BR" to ".B" where proper for the patchset [Alex] > - rearrange a few lines in the last two patches where they got messed up > - document more things, e.g. UFFDIO_COPY_MODE_WP; and also on how to resolve a > wr-protect page fault. > > There're two features missing in current manpage, namely: > > (1) Userfaultfd Thread-ID feature > (2) Userfaultfd write protect mode > > There's also a 3rd one which was just contributed from Axel - Axel, I think it > would be great if you can add that part too, probably after the whole > hugetlbfs/shmem minor mode reaches the linux master branch. Ack, this is on my list of "todos". Agree it makes sense to wait until the code is in Linus' tree, then I'll send a patch for the man pages. > > Please review, thanks. > > Peter Xu (4): > userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs > userfaultfd.2: Add write-protect mode > ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs > ioctl_userfaultfd.2: Add write-protect mode docs > > man2/ioctl_userfaultfd.2 | 81 ++++++++++++++++++++++++++-- > man2/userfaultfd.2 | 111 ++++++++++++++++++++++++++++++++++++++- > 2 files changed, 187 insertions(+), 5 deletions(-) > > -- > 2.26.2 > >