Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2180347rdb; Tue, 3 Oct 2023 12:46:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEuBwCg+fjpJ+7eHTH4Hq7pB0TCXLpGsZpLdypgmZ9Mzy+sgIRiwI9n1aPeyDtZmMgdhZ6u X-Received: by 2002:a17:902:b48b:b0:1c4:4462:f1bd with SMTP id y11-20020a170902b48b00b001c44462f1bdmr489023plr.35.1696362390595; Tue, 03 Oct 2023 12:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696362390; cv=none; d=google.com; s=arc-20160816; b=i/fL7ws6agDfl0wh9ZupaoVyPxLKSanC8C0ZB3YirVdB72O6BlQhANhF+iIbvgo6I4 Z8rmqWq9lSDTvvkzuHJ9iwJYCPOrBPuRIkD4nua4KqnVE/5+DvbhFEq0o31Risdm1ab8 ENnmdrc0oUY1E551oLm8HlFz6K7DTVHxcR/hM7ytUF1he4AQ1l2hsXsFA3z93rg0bWQQ xxetHseqAjJUWSaoZUrrU+QJ1Pm9U2PQPv28EpeWBbjrYfGQ56BH+wSLDlxmSxEN50Up IWouM6yIWb48dof9rBNlvoIg6o8BJkiP/zJYlijGE8TlR9RwmjT56UEu499zRXLwdYLA J8FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=viodXw7fUNfO/LRa8b1+fBrUho8mNoQloTZPtSZSDRw=; fh=SqwPTGdhTS3wVH9FltNQ4n/lDM1p3ApEDnroT8zra0U=; b=QS9/3jSEkMFZCSUpo9045AkfCWw+jmxJEGAXzr0zDGX9Aex3uUPpzcCYxonz5dah67 UMW7PZNgHw2DPr760gS6DYnB1U9EqIKBr2I23/+cc28oo+l+vCviGcDC0F5ScsJDB0QI sPAFZVNeRhfU5sHwYPzIc3267cST7Kf4sbTGX5twtYaFjJv3puFJGlsquBFrVjfWnvHa 0lZuEYn2MGur6H3mD88qoqgDVwpwSJ3eF3lSsPPfLIT5I4f1ZC1xEJwkR4iHaICgrnKc PzuYsEch7NxfvTqdFWgHiLcSV+u0uNrnpi3ml3cCet4a9cY8dLWk+6kt4Fc5vg5NTyH6 BKww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3iw7OeSM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y15-20020a17090264cf00b001c6154cfda9si2012075pli.356.2023.10.03.12.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 12:46:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3iw7OeSM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 73BA0817DD08; Tue, 3 Oct 2023 12:46:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240981AbjJCTqD (ORCPT + 99 others); Tue, 3 Oct 2023 15:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240955AbjJCTqB (ORCPT ); Tue, 3 Oct 2023 15:46:01 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04C92AF for ; Tue, 3 Oct 2023 12:45:55 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5a22029070bso21262737b3.3 for ; Tue, 03 Oct 2023 12:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696362354; x=1696967154; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=viodXw7fUNfO/LRa8b1+fBrUho8mNoQloTZPtSZSDRw=; b=3iw7OeSMlok5fWAsQ3kzXk8gjk93xJV/CYmLAXoVpXCpl6Nr0CJPYZl3n74zJFa69I 4WfG4atV7WTdsAOpuzpKucANzacVek9OBJmRVsYf26ynV47+qf3KzcHkJqinzIiIQj4z KaILlLwxqf4eDiuW3/rfAC0fw+1dBvhkkyShs3u56z7P0Ow4bhn/iB+WRbXkfucn8M5Y IM0pK8tKn9qX1REtLsHwaT1KNinPNrwJqiJhsmuJltnCAQgosFVxZg/ftxQRAJq/mmuD l1L8EkNOnn9TZ8Y/5InYgByLZNJGTr1cCP/yFyk+7Gza19XG0jqvqReUNKUZIesgGPlf 07wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696362354; x=1696967154; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=viodXw7fUNfO/LRa8b1+fBrUho8mNoQloTZPtSZSDRw=; b=NdDbSNNfo1qmEdfIGQ9ZBOU9F5vQV0nEikksTIr7e0VgFuepQ5+IPVp3tulSyRA1IS zUPQ81yF7saGjXAnkCEda0ugFurppeeVz9uQuuoE1y6Q3nJULbF84cczPzOP2VjsaqhS pFaW05Zi8i3TqM4SmMqM2mIqL7rFidfvkmgIDDv+5l0wAixgcjRN0Sh+kyVFFZdnhvLs mBzoSuZJWmleBjQVJlQa+VZ6xzcEkPJ2GsDpHOLAGpIxTBU1ZsvIFh6Z6mNMc8DQTkMA FWsHudbLgvSWF6Ya/6/nzvluh9sFfniFrnFkZi7mXx4f7oF22io0SrzWx3ghYl7BfGo9 fc+w== X-Gm-Message-State: AOJu0Yz/vBveGKkqxxKyf7MFDBoe85l9CI2cA1WjDTnbK0br4HwIhvEo CGOPqogjsXzR1C5ITd88ull/Upfmze+A2vb8P23k X-Received: from axel.svl.corp.google.com ([2620:15c:2a3:200:6577:b8c1:dd2d:1c93]) (user=axelrasmussen job=sendgmr) by 2002:a25:c785:0:b0:d85:b46f:4375 with SMTP id w127-20020a25c785000000b00d85b46f4375mr3284ybe.6.1696362354244; Tue, 03 Oct 2023 12:45:54 -0700 (PDT) Date: Tue, 3 Oct 2023 12:45:42 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.609.gbb76f46606-goog Message-ID: <20231003194547.2237424-1-axelrasmussen@google.com> Subject: [PATCH v2 0/5] userfaultfd man page updates From: Axel Rasmussen To: Alejandro Colomar , Peter Xu Cc: linux-man@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Axel Rasmussen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 12:46:21 -0700 (PDT) This series includes only the remaining patches not applied from v1, with review comments addressed. This series is based on the "contrib" branch. Changelog: v1->v2: - In patch 1 (patch 5 in v1), change "after" to "since" for consistency and to be clear that we mean 4.11+ (inclusive). - In patch 2 (patch 7 in v1), reorder error codes alphabetically (EINVAL then EPERM). - In patch 3 (patch 8 in v1), resolve conflicts with earlier review comments. Original cover letter: Various updates for userfaultfd man pages. To summarize the changes: - Correctly / fully describe the two-step feature support handshake process. - Describe new UFFDIO_POISON ioctl. - Other small improvements (missing ioctls, error codes, etc). Axel Rasmussen (5): ioctl_userfaultfd.2: describe two-step feature handshake ioctl_userfaultfd.2: correct and update UFFDIO_API ioctl error codes ioctl_userfaultfd.2: clarify the state of the uffdio_api structure on error ioctl_userfaultfd.2: fix / update UFFDIO_REGISTER error code list ioctl_userfaultfd.2: document new UFFDIO_POISON ioctl man2/ioctl_userfaultfd.2 | 226 +++++++++++++++++++++++++++++++-------- 1 file changed, 181 insertions(+), 45 deletions(-) -- 2.42.0.609.gbb76f46606-goog