Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1541617rdh; Mon, 25 Sep 2023 16:40:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEighWDeddBgJNaeKMd9rNZQcVQ1wHmCawLS2cVvJEQT7Diua1MmssMTVHdKHaHeIBEO8hH X-Received: by 2002:a17:903:1248:b0:1c5:6691:4978 with SMTP id u8-20020a170903124800b001c566914978mr7023169plh.37.1695685201749; Mon, 25 Sep 2023 16:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695685201; cv=none; d=google.com; s=arc-20160816; b=vJ8xOeUKef05L8bi0JWi2iurbFKx//3A1x6l8/bYfmpL9yNi1PtM/EVAVoGvWcGKG5 DiMAkTeTF2zfqILXh5fElhPUUwxMoY8l3B7e9Bl1oHzuqLFcZKevCxkyxVAwwV0ExLXX iVQ2110cgFRxspXz/pEDk55ZrPWv70XIfOVnCeozSsJE2EkT9GBP3zayEIhYhwce6b98 NpZNBOBZgB/zA4Slo5bAYWS55KiQLZxnMBEyp6mD3rkt3DzTn1nwt1u8qB13iMy3FNBC brXNsisA62ARBegJm4UxzdvC79Et6nPSDK4GMEiFHAbBMU/Ke+xXZPhkCaaoZGuXDu4C cNSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/WMKQ9K2isibLJpCrbAzrEcthkLg+ntL5exlBwglufU=; fh=wtPNz5QEtytCPPuNNoj9k3ZLKUvhc5S3xSbNrMwZr3o=; b=oBEjrYyPdsWAPY9Cj88zUcA1OFK/tIEStSuYfDekPCJObP3oEm/J4h+ohUBhJLDWn2 M0WdHQOAPOEXZGlFkKoPBcHb4wYucDb8As4UYJKnv7PlxyHwSYCbLMz3y6ZPA3LIqHYU nxfSzBTVImNwe+a4ZvoGWGpAb4JN4UcngDRYeGMu3N6HsmSibzuEpD6lWUUJDsQGYqGU 2dlBUTZMKFHcPb5Cdwf3OPiF6y8JIctfgtrsjU+m8m9XVhqcjjcNPTu86GWZdXFYJR/2 7cPCaV5f8mdu4VFC4/BD/ZkAb5kP1plVNfs3RvmLjyfH5HK5BHIuNXEtvAe5GJoHYSeh e+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dVsIQtyn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id q7-20020a170902dac700b001bc650255b6si3909390plx.390.2023.09.25.16.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 16:40:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dVsIQtyn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A553C8322716; Mon, 25 Sep 2023 16:38:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233506AbjIYXiK (ORCPT + 99 others); Mon, 25 Sep 2023 19:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231201AbjIYXiJ (ORCPT ); Mon, 25 Sep 2023 19:38:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2B1D116; Mon, 25 Sep 2023 16:38:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51D9BC433C8; Mon, 25 Sep 2023 23:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695685082; bh=O205pMaIZFX+IR8T15rQWZacKabki5WR2NjlY+l6r5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dVsIQtynqPYGfJ74Hj5ksmkMzU1K/gDiRxQ5DLIVvR4CE2yXDwSgOFm7UssP8H8x5 +G9UNuUwrHhhCUvBTxIO7CVsFcT0hCgsw5v0FYaJQ9gNyq8wBBXYi18I6wRRTKMqsz XB+rAEDdQbMOeHdzdqXv/E+IiJglWMsBwNKhO5t0wt4jNa54f+n6HyxM+8qvDGrbpw 6OXtC7druCMKsXLTanJyAqdCmyUgpUvjVcXIyx1UuRfh2h3G8ptlj8OJTZiMvKxdbT JOagx6UCY70sA+E9GyP+V4KQj5XhABibYbcbX5kapl1XpOnxxka7n5kLXGJJwOFyMu 1GgrwW8/oXERg== Date: Tue, 26 Sep 2023 01:37:58 +0200 From: Alejandro Colomar To: Axel Rasmussen Cc: Peter Xu , linux-man@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/10] ioctl_userfaultfd.2: fix a few trivial mistakes Message-ID: References: <20230919190206.388896-1-axelrasmussen@google.com> <20230919190206.388896-5-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7vgy4blmhwfscbm4" Content-Disposition: inline In-Reply-To: <20230919190206.388896-5-axelrasmussen@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 16:38:07 -0700 (PDT) --7vgy4blmhwfscbm4 Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 04/10] ioctl_userfaultfd.2: fix a few trivial mistakes MIME-Version: 1.0 On Tue, Sep 19, 2023 at 12:02:00PM -0700, Axel Rasmussen wrote: > - Fix missing paragraph tag. The lack of this tag yielded no blank line > in the rendere dpage, which is inconsistent with style elsewhere. >=20 > - The description of UFFDIO_WRITEPROTECT was a sentence fragment; the > last half of the sentence was left out by mistake. Add it in to fix > the issue. >=20 > - move UFFDIO_WRITEPROTECT 'since' to its own line All other ioctls > note the kernel version introduced on a separate line from the ioctl > name. Update UFFDIO_WRITEPROTECT to match the existing style. >=20 > Signed-off-by: Axel Rasmussen > --- Patch applied. Thanks, Alex > man2/ioctl_userfaultfd.2 | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 > index b5281ec4c..339adf8fe 100644 > --- a/man2/ioctl_userfaultfd.2 > +++ b/man2/ioctl_userfaultfd.2 > @@ -31,6 +31,7 @@ using calls of the form: > ioctl(fd, cmd, argp); > .EE > .in > +.PP > In the above, > .I fd > is a file descriptor referring to a userfaultfd object, > @@ -351,6 +352,7 @@ operation is supported. > .B 1 << _UFFDIO_WRITEPROTECT > The > .B UFFDIO_WRITEPROTECT > +operation is supported. > .TP > .B 1 << _UFFDIO_ZEROPAGE > The > @@ -693,7 +695,8 @@ field of the > structure was not a multiple of the system page size; or > .I len > was zero; or the specified range was otherwise invalid. > -.SS UFFDIO_WRITEPROTECT (Since Linux 5.7) > +.SS UFFDIO_WRITEPROTECT > +(Since Linux 5.7.) > Write-protect or write-unprotect a userfaultfd-registered memory range > registered with mode > .BR UFFDIO_REGISTER_MODE_WP . > --=20 > 2.42.0.459.ge4e396fd5e-goog >=20 --7vgy4blmhwfscbm4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmUSGdYACgkQnowa+77/ 2zK1TA/0DhG5yr7StwFzK4NjnJiDDw+3oacXTZgx6sa0kYYJDqe3o0Bb5SosjsGE ltXNDkCkF+0PaUc85M4zaqpuLtQk/1dYDcn8ySRkl4smkbNhrWd6Bl/2RZc+uUJI KHob3h7Ilt/NIoDuHQBnjleuFrQHQ1ofUZ5RSq5BRyn7JFmTu3Unls8bHWMu+YE/ X8knCMHGQbKm0Y6u9QhMB8rOgUM967n9tV+0i201XmFYkqInb6cbVr0xNCfDRl8m paC6fGbhxeyqDxpSbJi6xa3d4/PZ1PTl7XxuUC3fTCkx6t2r27UVLeWcb5r4fTV7 zV1+tg+dnFxJYyO4LTQCgDYA8jUKjWCmebkXg5MHUB/XXwFxWZk78TNNCgIf/poj weGXn8XbJamFujFPzhAlNlNC07zZPWsHgo5wusxilBFEw2TwmxLxJZjTQmOS3K4c RIbxD5ALLiOPYEfasYOZkMLxtLIiXHAwuG8Z5Wj3Lu0HaTkJy7D2fMxtATIcmQ5R SMhT6QvoT1GtJNn2zGJ3McSwFkK356ECwocQuUp+MTRnSX/OxAQ3raf/VlNhujOA MQMSo6jQdIh4/Rt2HRHgKK+ql7O2FwyTVB2Iw5jiu/NssYokU6qzUq+xZID979ib 4dGcxnIv9+ChW2xfaEA0Kd25ODId3Iiz/qYHcOldYym1txp+Eg== =x8ug -----END PGP SIGNATURE----- --7vgy4blmhwfscbm4--