Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp128726pxy; Tue, 20 Apr 2021 14:30:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSFevh9JEy6O5OqHVC9fTEo7CybCsceKeyG0qm8F9w2NPLx+23zqkmY7tT5GxTnQQrRsNW X-Received: by 2002:a63:5fc2:: with SMTP id t185mr19460383pgb.181.1618954217342; Tue, 20 Apr 2021 14:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618954217; cv=none; d=google.com; s=arc-20160816; b=HtO0AK+Vb91biI4pUbTkNh6Zl+IkBCmuCkxuQXpG3x9wwX6rlokIyjaOdGtebV9+of WYgP8EOTnuAtFZvulmX0ZdDri8JFB5VfguqMkR8n8fmZVrNqhR4oB2ojHsK4OIJKQCZK HgXy403UnlUwxjrMLEJA+0gTc82EDsLKAg8Yv17ZvJWwJtLK0sqdwTDlOSjR0cIlrHer E72txcX2JE1xWK5MKggQDFMuPOxbFA8+5rbkGBJmpcXCPUw/tGCuOeSJfyTWlFlvfoIf ZPVyxqyf+2JrSg2RfJ++Ls5Uxh0fjUP50DD4LsafbBDxdC4sIdXm/rcojNZE8ymvvMMa iosQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lHwmgbifuG0M3rXBM4pJp8JDF3uOD0QG+0y4qHiOLl4=; b=HglsOMPruzRtVnOIhCLNNRSW0mzYwEdfcCZIxdTNfhBU/B07e0BQMmsHejPq8asM4R 3zG75+ASoe3X6QB9gd31MIQbi2NITAm26lFWN+X86MQSeYSqSlRMtsyb52gZOnmbF2on lIZXN6hGkoJOljXCxkgEN7c0OGkBzqDY/jn0VX3FUMmxD5G+g1F2J07Y4NQLDJdf85gp ShBrsAzHSweX7BLho7jzKJ4Pqf8GPIdqsdChcovh18a/8TXr1eOEPrFieGAX1u3oX5ST sZwl8Mzk10GHc7Oh6RZSNYwxOk5UE+9xHGETRX2ZoxUy2dJRUVZs+YJbdd5sT1gi5pvq w9Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hzsFH1dc; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si32275plk.398.2021.04.20.14.30.04; Tue, 20 Apr 2021 14:30:17 -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=@google.com header.s=20161025 header.b=hzsFH1dc; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234156AbhDTV3t (ORCPT + 99 others); Tue, 20 Apr 2021 17:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234019AbhDTV3r (ORCPT ); Tue, 20 Apr 2021 17:29:47 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6597C06138C for ; Tue, 20 Apr 2021 14:29:14 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id b10so39989151iot.4 for ; Tue, 20 Apr 2021 14:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lHwmgbifuG0M3rXBM4pJp8JDF3uOD0QG+0y4qHiOLl4=; b=hzsFH1dcSvdXMaaExg5echKUbnVUhtWFFlovxS/9tgtjlHQ7oX8H+LYoQqDr0riOyP eUJNPystxhJIE1e/wCujS9Rtk91K9rflSyNWN28TpCYEWyb0JJcpWEFtY6zk3veuaMCz zMbsT8tstCP3uaSOv4YxtoFrY2s41iMOtWOW4UjtoLZK7dsd1Pq/+GCu6mHJJaL8koHh vpH2xaQh/SEPr1vHaPdcq4fgkN4ahwlMexYPQ4pKwVc/h9wurmsOocSALj9k7vEx5bbx 5d8xcIt5BrGypmKvqBA2RU9476yza+rwF9qpDx9f+JGr4EM5S1lB7FsY9Y3dR8jYXC0Z 7/Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lHwmgbifuG0M3rXBM4pJp8JDF3uOD0QG+0y4qHiOLl4=; b=IJZXoXQkQ0LHp8qKBcJp12U7g6MEeNjG7GJ1h+Mj54ZtfnnS9du/GxkYVsEuJQg9JV r9znmWAuh7at1t//7LKyYN2D6VzFiUiTaWnGzI5QsERu6WNY/bE3FekHQO8pfzi4v+pV +PzlF5+3ukOrBXCVQaw0+WILVgN3Xe+71/syLKVyz9Es8z9GPfgwuJKU7nchckp6kYci puShwLPjRHzaZyTXcYAs+FjsB5k5E+XP4G5KEF9UfokkcgI1KKbIShG7QCZozUpLrs/A TcyzaPtAyHipES5NohyMVhH420Fh44ZlufUelxRMXG52wYdMWCrbQFMQKdektm3Uo5rr zfpA== X-Gm-Message-State: AOAM532fZv9dVpnPznAUnxEMrjdhEYDKNDmFrcLOZ+EoMsZAV3XET/8s hzKOhhN6UqDRraOwk7wM1NUc3rsJ2ItJrypgHN3FSw== X-Received: by 2002:a02:4444:: with SMTP id o65mr17093204jaa.1.1618954154039; Tue, 20 Apr 2021 14:29:14 -0700 (PDT) MIME-Version: 1.0 References: <20210415184732.3410521-1-axelrasmussen@google.com> In-Reply-To: From: Axel Rasmussen Date: Tue, 20 Apr 2021 14:28:36 -0700 Message-ID: Subject: Re: [PATCH v3 00/10] userfaultfd: add minor fault handling for shmem To: Hugh Dickins Cc: Alexander Viro , Andrea Arcangeli , Andrew Morton , Jerome Glisse , Joe Perches , Lokesh Gidra , Mike Kravetz , Mike Rapoport , Peter Xu , Shaohua Li , Shuah Khan , Stephen Rothwell , Wang Qing , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, LKML , linux-kselftest@vger.kernel.org, Linux MM , Brian Geffon , "Dr . David Alan Gilbert" , Mina Almasry , Oliver Upton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 12:13 PM Hugh Dickins wrote: > > On Thu, 15 Apr 2021, Axel Rasmussen wrote: > > > Base > > ==== > > > > This series is based on (and therefore should apply cleanly to) the tag > > "v5.12-rc7-mmots-2021-04-11-20-49", additionally with Peter's selftest cleanup > > series applied first: > > > > https://lore.kernel.org/patchwork/cover/1412450/ > > > > Changelog > > ========= > > > > v2->v3: > > - Picked up {Reviewed,Acked}-by's. > > - Reorder commits: introduce CONTINUE before MINOR registration. [Hugh, Peter] > > - Don't try to {unlock,put}_page an xarray value in shmem_getpage_gfp. [Hugh] > > - Move enum mcopy_atomic_mode forward declare out of CONFIG_HUGETLB_PAGE. [Hugh] > > - Keep mistakenly removed UFFD_USER_MODE_ONLY in selftest. [Peter] > > - Cleanup context management in self test (make clear implicit, remove unneeded > > return values now that we have err()). [Peter] > > - Correct dst_pte argument to dst_pmd in shmem_mcopy_atomic_pte macro. [Hugh] > > - Mention the new shmem support feature in documentation. [Hugh] > > I shall ignore this v3 completely: "git send-email" is a wonderful > tool for mailing out patchsets in quick succession, but I have not > yet mastered "git send-review" to do the thinking for me as quickly. > > Still deliberating on 4/9 and 9/9 of v2: they're very close, > but raise userfaultfd questions I still have to answer myself. No problem at all, I'll send a v4 with the 4/9 and 9/9 updates on top of this, and we can proceed from there, ignoring this version. Sorry if I seem too eager. I really appreciate your reviews - each time they are very thorough, and I learn a lot from the process. > > Hugh