Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp712110pxb; Thu, 25 Feb 2021 13:07:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiyaScFiGBw/r8ByomiVijSbQQOUH5qs3fwS1VIsM/wy7YDYhIDrlrNH2r2Od9WifmmcB3 X-Received: by 2002:a05:6402:2683:: with SMTP id w3mr5018059edd.378.1614287239822; Thu, 25 Feb 2021 13:07:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614287239; cv=none; d=google.com; s=arc-20160816; b=leUGfo7vTbsndlmvPdirUWViL+FDlHsGZTEGH+QLkQ82soKzP2F7iRiC5AA8/ObKVa TEDB0TsicthPmN5ok93SQRgdiyJDtqrJpH7mFk6BsL0e8T/F1vcpLKW7OVljE/2CH6Pm vjuvDjULkYgYPJrZYgRJenzoxhfHkWQ2S+v58BNqMi0MYhVzbFbHcReRRs2oy/sv+cnB gkOvBWCeUAUAqHvtJBNe+wR5gG5mUTCENafyWnC6qXeoy+2hBlLMOzQ/s3CLnaWKwgo2 p8bIeIE1vh9T/ZLy60Dn7h1sleU4Vrez8FTXck8L3HhBH81S29kPajVa6ARxmZMos3Lu ATsA== 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=fTyh/njbTvxGBCwzrRyX2EiAfSR949VElesvFbgeey4=; b=b/l7nvjl20l0MGRqy6upq8MWShYKcP9XgEhAg8KmTX8cwhpIrt1VBlH03ysDxiXssz xaX7oG6CwUA/Vo0kDCt3nY/LnPAEUkfOvEAyY8nQR9T9VMnae8jgF7uqBzof0+mQP7z/ 3Rv3/IdaXPqX2GbMcbQJ6JuV/bWsrbBOR1VCwL6fH3t2Bx4XLwDcJZLYWl9roEB+lyG6 HHJKAwmx6U8esmf18eYgsNtA0GHm+qksAUx0hvMMoylLydWMafC8AwHtIu+ycEQFQpTo HvbJFlUV0Cvj1QEwn2X3kOM76+SK5OGViI59bNjy3tA0r9SwViugAICxacwgCbJzBurl rRUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I4+eJrNl; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 5si4128734ejn.116.2021.02.25.13.06.57; Thu, 25 Feb 2021 13:07:19 -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=@redhat.com header.s=mimecast20190719 header.b=I4+eJrNl; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234738AbhBYVFp (ORCPT + 99 others); Thu, 25 Feb 2021 16:05:45 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:24926 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbhBYUyV (ORCPT ); Thu, 25 Feb 2021 15:54:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614286374; 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: in-reply-to:in-reply-to:references:references; bh=fTyh/njbTvxGBCwzrRyX2EiAfSR949VElesvFbgeey4=; b=I4+eJrNl60ZNQ4sVaWcm1ZtqVLJOIh4RhIqMVply79I2akK/lzqX+L+eX2hQiMATT6xhM0 m6f7ME32cw5N/Gse4FZO7wuoqK7qUbPf4pWJ61sTV4ufYmcrF3+RYxTnmkYD7T3Zo+hJ5j kdwDXe/lOcHiqWKZhWWPW25l/dH5lNI= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-444-wmQZcK4AP3-4AFpEWLiifA-1; Thu, 25 Feb 2021 15:52:52 -0500 X-MC-Unique: wmQZcK4AP3-4AFpEWLiifA-1 Received: by mail-qt1-f198.google.com with SMTP id z3so5007829qtv.20 for ; Thu, 25 Feb 2021 12:52:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fTyh/njbTvxGBCwzrRyX2EiAfSR949VElesvFbgeey4=; b=i18P5wQHa1AzS/DW1WFO0V2YZgpPBKcnLOILMPriz6hOQ+15evaYPWbO2n13V1H8OQ oEEyLlJS3rZhaswOrs9LE+008o4f1qRtViUHAg340W9zEW2vLZz+bVMFdOOwO7PeFURs iLvY5v547rdNcTv3JEBoF0gvUjHgKNcuHMld/FFdPip/sHky5Cyn99DwI4OrY2IGucOs etuTUijRivzScWSMofKjc5csY/DpMmWEKtVIX24Goy2250NLj5ZnvnTLN4Kib6PlVOHv FLHnuPEKOe9vNjIILrmPrZU4GXkpQL8kvV+rUXNTHOwHEjrMpUWTZi7eWMK7V5ijXRul oWBQ== X-Gm-Message-State: AOAM530TPlm3XBtVxVw94oqoGfvFBpSsOrPrJk0xScSkphxiiFRMDgeV iOSGkgSOr066Jt0h3Trdfpb3zB448yWFDURPwgmuJVNmB8U9n6m2gZHIpICh/QYYn5kTr9nfNY5 GwJQgPMpBys/P92OLKhFp5TfM X-Received: by 2002:a0c:aa44:: with SMTP id e4mr4666462qvb.49.1614286372232; Thu, 25 Feb 2021 12:52:52 -0800 (PST) X-Received: by 2002:a0c:aa44:: with SMTP id e4mr4666419qvb.49.1614286372014; Thu, 25 Feb 2021 12:52:52 -0800 (PST) Received: from xz-x1 (bras-vprn-toroon474qw-lp130-25-174-95-95-253.dsl.bell.ca. [174.95.95.253]) by smtp.gmail.com with ESMTPSA id w20sm4787394qki.102.2021.02.25.12.52.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 12:52:51 -0800 (PST) Date: Thu, 25 Feb 2021 15:52:49 -0500 From: Peter Xu To: Axel Rasmussen Cc: Alexander Viro , Alexey Dobriyan , Andrea Arcangeli , Andrew Morton , Anshuman Khandual , Catalin Marinas , Chinwen Chang , Huang Ying , Ingo Molnar , Jann Horn , Jerome Glisse , Lokesh Gidra , "Matthew Wilcox (Oracle)" , Michael Ellerman , Michal =?utf-8?Q?Koutn=C3=BD?= , Michel Lespinasse , Mike Kravetz , Mike Rapoport , Nicholas Piggin , Shaohua Li , Shawn Anastasio , Steven Rostedt , Steven Price , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Adam Ruprecht , Cannon Matthews , "Dr . David Alan Gilbert" , David Rientjes , Mina Almasry , Oliver Upton Subject: Re: [PATCH v8 5/6] userfaultfd: update documentation to describe minor fault handling Message-ID: <20210225205249.GB261488@xz-x1> References: <20210225002658.2021807-1-axelrasmussen@google.com> <20210225002658.2021807-6-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210225002658.2021807-6-axelrasmussen@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 24, 2021 at 04:26:57PM -0800, Axel Rasmussen wrote: > Reword / reorganize things a little bit into "lists", so new features / > modes / ioctls can sort of just be appended. > > Describe how UFFDIO_REGISTER_MODE_MINOR and UFFDIO_CONTINUE can be used > to intercept and resolve minor faults. Make it clear that COPY and > ZEROPAGE are used for MISSING faults, whereas CONTINUE is used for MINOR > faults. > > Signed-off-by: Axel Rasmussen Reviewed-by: Peter Xu -- Peter Xu