Message ID | 20210304163140.543171-4-peterx@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=7Svu=IC=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40D33C433E9 for <linux-mm@archiver.kernel.org>; Thu, 4 Mar 2021 16:32:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E41A964F40 for <linux-mm@archiver.kernel.org>; Thu, 4 Mar 2021 16:32:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E41A964F40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8716D6B0024; Thu, 4 Mar 2021 11:32:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 84B6D6B0025; Thu, 4 Mar 2021 11:32:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6EAA86B0026; Thu, 4 Mar 2021 11:32:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0024.hostedemail.com [216.40.44.24]) by kanga.kvack.org (Postfix) with ESMTP id 5468B6B0024 for <linux-mm@kvack.org>; Thu, 4 Mar 2021 11:32:03 -0500 (EST) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 153528249980 for <linux-mm@kvack.org>; Thu, 4 Mar 2021 16:32:03 +0000 (UTC) X-FDA: 77882733726.01.691C51F Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf12.hostedemail.com (Postfix) with ESMTP id 11BC23F3 for <linux-mm@kvack.org>; Thu, 4 Mar 2021 16:31:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614875511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L+ETSEf1ZAFUSggoPbuwMmKsXjA8FmosFmIyKB/HpBM=; b=KRVa3M/LZuoBTYpXpN7Zjq/pubRiiNNvRa+rBUtsc8CKLIQUJIXSI3Fqd5jz6OzeEmkjDe /DWyMQK6HlzKR7FOJnjqFghKq6cd4bJZ8Dmj5gsBlR33jyzjcHH/gZdRZlYA6tBLX332A4 p2uxqbTIFUOCmI6PgAzZX6uubv148CM= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-315-BbUzQDwyOjiDuzdFiOiSwg-1; Thu, 04 Mar 2021 11:31:49 -0500 X-MC-Unique: BbUzQDwyOjiDuzdFiOiSwg-1 Received: by mail-qk1-f200.google.com with SMTP id o70so23455142qke.16 for <linux-mm@kvack.org>; Thu, 04 Mar 2021 08:31:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=L+ETSEf1ZAFUSggoPbuwMmKsXjA8FmosFmIyKB/HpBM=; b=PTR6wrLYtrPE2sscMaE4nLNnxXhtzL4TyPhg+zL1yrYqx9ukfbAtiUKbR8JRnqY13U fOouMokVU/A4895bQLyKtmDqN5RMOaJU/hIDvh7l6WmE7UlfSq/yWoSxdO4nPMP0ff2B qdAPFTTI6veccBEjF57Shh/P9p248U7A5g9ngdV2C52rgldUCaN7mY7lKUGQ2vItZNMH GG9owJUn5753YyRqI08zsZN78ImeYDQ86rLDYGMPZamrtSr9EwQeBxy2vYfZjmRVKRDW vF8gBj8UhkBcRd8HF4w/8FdRfmeYIeA6c+EQPyh+rVBzKh21uQSwzgaRx8A7CSObdFtP rpYg== X-Gm-Message-State: AOAM531kfKnt/Xz+x59oZg0nGvgPPJxDTryDRa5LpmJHZSaFbuSXdTzR z5u4KbmWwHsaQvI53LDncQn0nrI8KV3Z4vgJoog+io6Yy8yx88ipdcyjW/nQtus/jYaazz1aFo8 A7RspoUicMN4= X-Received: by 2002:a05:6214:1424:: with SMTP id o4mr4686693qvx.34.1614875509283; Thu, 04 Mar 2021 08:31:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZVGrykbdTHTsJvMYciYnspUzYH+GMDJvtLzn0b2/AnSBx/ccJd5RUBv4+cALIgTK9I6Wcag== X-Received: by 2002:a05:6214:1424:: with SMTP id o4mr4686678qvx.34.1614875509092; Thu, 04 Mar 2021 08:31:49 -0800 (PST) Received: from xz-x1.redhat.com (bras-vprn-toroon474qw-lp130-25-174-95-95-253.dsl.bell.ca. [174.95.95.253]) by smtp.gmail.com with ESMTPSA id r2sm51753qti.4.2021.03.04.08.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 08:31:48 -0800 (PST) From: Peter Xu <peterx@redhat.com> To: linux-man@vger.kernel.org Cc: Alejandro Colomar <alx.manpages@gmail.com>, Nadav Amit <nadav.amit@gmail.com>, Andrea Arcangeli <aarcange@redhat.com>, linux-kernel@vger.kernel.org, Michael Kerrisk <mtk.manpages@gmail.com>, Mike Rapoport <rppt@linux.vnet.ibm.com>, Axel Rasmussen <axelrasmussen@google.com>, Andrew Morton <akpm@linux-foundation.org>, Linux MM Mailing List <linux-mm@kvack.org>, peterx@redhat.com Subject: [PATCH v2 3/4] ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs Date: Thu, 4 Mar 2021 11:31:39 -0500 Message-Id: <20210304163140.543171-4-peterx@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210304163140.543171-1-peterx@redhat.com> References: <20210304163140.543171-1-peterx@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=peterx@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="US-ASCII" X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 11BC23F3 X-Stat-Signature: 36e51766wabc5bifr7az318i5ada4xf7 Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf12; identity=mailfrom; envelope-from="<peterx@redhat.com>"; helo=us-smtp-delivery-124.mimecast.com; client-ip=216.205.24.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614875510-345221 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
man2: udpate mm/userfaultfd manpages to latest
|
expand
|
diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 47ae5f473..b58983fe7 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -208,6 +208,11 @@ signal will be sent to the faulting process. Applications using this feature will not require the use of a userfaultfd monitor for processing memory accesses to the regions registered with userfaultfd. +.TP +.BR UFFD_FEATURE_THREAD_ID " (since Linux 4.14)" +If this feature bit is set, +.I uffd_msg.pagefault.feat.ptid +Will be set to the faulted thread ID for each page fault message. .PP The returned .I ioctls
UFFD_FEATURE_THREAD_ID is supported in Linux 4.14. Signed-off-by: Peter Xu <peterx@redhat.com> --- man2/ioctl_userfaultfd.2 | 5 +++++ 1 file changed, 5 insertions(+)