Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4636816pxy; Tue, 27 Apr 2021 09:16:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwogTOvsjvTfUCSAwCOCBqFsivNnCi0dHnHoMMHA6KlU1Z72oFvmlJO6QXoDv5fbP/k4cgk X-Received: by 2002:a17:906:151a:: with SMTP id b26mr24387813ejd.492.1619540213224; Tue, 27 Apr 2021 09:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619540213; cv=none; d=google.com; s=arc-20160816; b=jcSTZyORTgkqIzPFUImItmD8qfsEUFocefxLpRZ1aF/+z7na+24hRgNe8y7o0yCKs0 KesX00u/ADHRohSMh76WUGmVX4OZXwqwJqwkgrBilKUqAnynmKFH2tHPLnC9GvfrPlls ddP1Y3N5o2ugXP4ydSeSDHUCFBAVh3Qbg3IMnwkSKfweaI5ojRaOIiM7dfHthLXKcN8U 3eFI5R51/vr2CpIFa+bhqNk5ljVyKZNLeU4fhIkFhKdxDd8a8Va5/OWGKA8q9J2dXlTe Vy8DJAp5eYF4hnsyqrhRn5x5EiUIYKe0KoJ/Vz89Tmx+1+iwZ4xxVy0N1eRJ/5v9dQdI wGiQ== 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=UeRAYJi3jVz2RcJA5cfm9/ZZeziOqivA1BEyk0ctB+8=; b=YRW+c73qSOqiO0G0uOsjM0U9TNq9sGlna6uPkvVFsJ8S5g2ZnGttoF/qm+/IibMaUr fuKua4St2lanNT4Jsog1ErBtuRBg25JSu1186j9yQwzzs6AY/T5Bo1pD5GHVh4ucJhV/ 0WuA7osuNxoSS6sow5o1KTtWJyZSS4nhzsAXbBIbB6eJXysBB0HT8sYEDFIdEMsT3DjT iGJ4HYpuJLzWw3K4g6C3ftkg5uFvp1+st1dfMlserQxudvHMk+1l2iryPB2QBAwVjgzo XRtAEIQE0hpgFv629XGtVq7BnNIh21G7Rb5W4hgvz4TASCT+YM2m8z/0dn4VJ1e6KNcX rjUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cPw5KuU5; 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 c18si259044ejr.332.2021.04.27.09.16.29; Tue, 27 Apr 2021 09:16:53 -0700 (PDT) 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=cPw5KuU5; 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 S238060AbhD0P6C (ORCPT + 99 others); Tue, 27 Apr 2021 11:58:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47948 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234932AbhD0P6B (ORCPT ); Tue, 27 Apr 2021 11:58:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619539038; 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=UeRAYJi3jVz2RcJA5cfm9/ZZeziOqivA1BEyk0ctB+8=; b=cPw5KuU5YKX57TvUkrq0W/Bm1Zp2yUw19CrCFDBBWUqu0InCoXXYyHPmCB7U4z3hTqjVb/ jJIDvQMPlki2zShs2iuAJm81/wRHJBrZev6SBDZYVo879CqQPJXgrsugNhkOXGp6U/KjKc QYmQkK4MA7xKhhZl65RZhyDexxCjqV0= 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-522-XAHGXNG5MBKa3o_3KR_qHg-1; Tue, 27 Apr 2021 11:57:16 -0400 X-MC-Unique: XAHGXNG5MBKa3o_3KR_qHg-1 Received: by mail-qt1-f198.google.com with SMTP id z5-20020a05622a0285b02901b943be06b5so15493693qtw.17 for ; Tue, 27 Apr 2021 08:57:16 -0700 (PDT) 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=UeRAYJi3jVz2RcJA5cfm9/ZZeziOqivA1BEyk0ctB+8=; b=ZHETwTSYDoE0VuVYASehpVZ69tg9v0arnOYNLMA1qJlTNdHekupcHxWIN52ZGYE/4R xNMD/M7LVv1MNdcPAj6JE4eQe/lILGgviwnkok0PpyvUjoIr0/gfSE+Pn2clFwmTx0cA BSlWd7DKv9u4IMRQIaVoZpWE0hEcU5N5Sm37WSeb0mu50BYprnXUp+QCr1gRUeIb7tAn PtpVGFqyoLV1j7Gfutvid93OJhCDPat3jIrdZUQWajUIfxAmrdLxFFO1IFVNfvMr2+zM PzgGEmXHBGIbE5mw2sZOzkzFggMIppIAeb6QXrXtFNBX8coTZZ1MXN89CSf1PtPTaFeQ GjsA== X-Gm-Message-State: AOAM532cijVSNLM4uX/kMPJ4qNyi0h2J76s1fJYap0t4BrEbR27u8612 ZhxjQBLJR/hS9gHEsoXUND3LWKBSEfgpJjlSZU3z9LuiqiZU/mEwfmeNkEWzRFAgxW93NKWv6uB a2nJV/5rGtKCnKVCc8r+kzHMs X-Received: by 2002:a37:9305:: with SMTP id v5mr23224456qkd.223.1619539036073; Tue, 27 Apr 2021 08:57:16 -0700 (PDT) X-Received: by 2002:a37:9305:: with SMTP id v5mr23224422qkd.223.1619539035849; Tue, 27 Apr 2021 08:57:15 -0700 (PDT) Received: from xz-x1 (bras-base-toroon474qw-grc-77-184-145-104-227.dsl.bell.ca. [184.145.104.227]) by smtp.gmail.com with ESMTPSA id h62sm2925543qkf.116.2021.04.27.08.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 08:57:15 -0700 (PDT) Date: Tue, 27 Apr 2021 11:57:13 -0400 From: Peter Xu To: Hugh Dickins Cc: Axel Rasmussen , Alexander Viro , Andrea Arcangeli , Andrew Morton , Jerome Glisse , Joe Perches , Lokesh Gidra , Mike Kravetz , Mike Rapoport , Shaohua Li , Shuah Khan , Stephen Rothwell , Wang Qing , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, Brian Geffon , "Dr . David Alan Gilbert" , Mina Almasry , Oliver Upton Subject: Re: [PATCH v4 04/10] userfaultfd/shmem: support minor fault registration for shmem Message-ID: <20210427155713.GC6820@xz-x1> References: <20210420220804.486803-1-axelrasmussen@google.com> <20210420220804.486803-5-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 26, 2021 at 07:23:57PM -0700, Hugh Dickins wrote: > On Tue, 20 Apr 2021, Axel Rasmussen wrote: > > > This patch allows shmem-backed VMAs to be registered for minor faults. > > Minor faults are appropriately relayed to userspace in the fault path, > > for VMAs with the relevant flag. > > > > This commit doesn't hook up the UFFDIO_CONTINUE ioctl for shmem-backed > > minor faults, though, so userspace doesn't yet have a way to resolve > > such faults. > > > > Acked-by: Peter Xu > > Signed-off-by: Axel Rasmussen > > And if this "04/10" had been numbered 03/10, I would have said > Acked-by: Hugh Dickins > > Just read the comment above: "so userspace doesn't yet have a way to > resolve such faults" - if it doesn't by this stage, we're in trouble. Right, so merging the two patches might be easier. Even if we don't merge them, we'll need to touch up the commit message since at least above paragraph is not true anymore as we've already have UFFDIO_CONTINUE. Thanks, -- Peter Xu