From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 99D27C433E0 for ; Tue, 12 Jan 2021 21:55:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 05A9521534 for ; Tue, 12 Jan 2021 21:55:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05A9521534 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 68C146B00F5; Tue, 12 Jan 2021 16:55:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 613E26B00F6; Tue, 12 Jan 2021 16:55:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4DB5B6B00F7; Tue, 12 Jan 2021 16:55:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0117.hostedemail.com [216.40.44.117]) by kanga.kvack.org (Postfix) with ESMTP id 34C336B00F5 for ; Tue, 12 Jan 2021 16:55:43 -0500 (EST) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id BF5E5180AD811 for ; Tue, 12 Jan 2021 21:55:42 +0000 (UTC) X-FDA: 77698480524.12.scarf44_4212e7827518 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id 988F81801E2E4 for ; Tue, 12 Jan 2021 21:55:42 +0000 (UTC) X-HE-Tag: scarf44_4212e7827518 X-Filterd-Recvd-Size: 4528 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 21:55:42 +0000 (UTC) Received: by mail-lf1-f47.google.com with SMTP id v67so5697741lfa.0 for ; Tue, 12 Jan 2021 13:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=391/aBiA2qochS6pTL8d1JkuyejrSRQMbWVrhMmzLt4=; b=ZeUW+1KZ7ytFAsajUvvMyuN2NCPY10FGts1P2BzghpaXEX3swAyDSiTYsoGa3AhWHI Q2Wxu7FmcMBQCZku/xesxcNmU3SNmg44700bqnq+/UIiLR618puVTmfY8J8gk8fDNPj3 Nm434rNrraYgh8Dz+YMyTwPUCEpXjdSKZTtbc= 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=391/aBiA2qochS6pTL8d1JkuyejrSRQMbWVrhMmzLt4=; b=uPSf5IwSLbWdmRyVL874YTRcqZpRrWuLxbzvQ+6Qfc3hSP7/5GQ7q47YYj7hHFECbn i7qFiWmcnZ9iF0/4Dw4fEtpBx1rg/WrKdLh3lRnKmMAxd5uuLGbcBJRDb1qK5sZsjWYK s61GxW7S60E6nf8Uz47cgya3w6FdttwllJX722w9OUTtr/TeAZk7ZdLZc4/UWou4w0n0 LSxX1bqlUFC++q+1HkqW7YGlx+sFcZLR6SofCwPpdKtn7bIUFkVn4VbSY7aUuaZHRPN2 oACSKfLDr698QAe7CxIXOwm9i5vacfOhp/f7WSiBqAop/BvQQ3dp5R1d873wLKBWlca/ fo3g== X-Gm-Message-State: AOAM530s/2bYIRrkyIdi9OJFma5xk9rUtGQ0u8Lxq0ZkqjEh/6OFRFlU gQrjBhNF0b05O16BpZPmb9/stg38iKL4Og== X-Google-Smtp-Source: ABdhPJyRpM/NGC9Hk2+DxoHp447M9X/XIuXXjWkClKoxSmWYMfr/AWrylNkgAgjecraM+AL4Ki/aZA== X-Received: by 2002:ac2:418e:: with SMTP id z14mr433863lfh.126.1610488540024; Tue, 12 Jan 2021 13:55:40 -0800 (PST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id m29sm492678ljb.30.2021.01.12.13.55.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jan 2021 13:55:39 -0800 (PST) Received: by mail-lj1-f170.google.com with SMTP id f11so216074ljm.8 for ; Tue, 12 Jan 2021 13:55:38 -0800 (PST) X-Received: by 2002:a2e:6f17:: with SMTP id k23mr525749ljc.411.1610488538323; Tue, 12 Jan 2021 13:55:38 -0800 (PST) MIME-Version: 1.0 References: <20210108171517.5290-1-will@kernel.org> <20210111142402.6euyktmcnpemanf7@box> <20210112214759.GC10434@willie-the-truck> In-Reply-To: <20210112214759.GC10434@willie-the-truck> From: Linus Torvalds Date: Tue, 12 Jan 2021 13:55:22 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/3] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag To: Will Deacon Cc: "Kirill A. Shutemov" , Linux Kernel Mailing List , Linux-MM , Linux ARM , Catalin Marinas , Jan Kara , Minchan Kim , Andrew Morton , "Kirill A . Shutemov" , Vinayak Menon , Hugh Dickins , Android Kernel Team Content-Type: text/plain; charset="UTF-8" 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: On Tue, Jan 12, 2021 at 1:48 PM Will Deacon wrote: > > > And then if somebody actually needs to pass in "modified fault state" > > (ie that whole "I'm doing fault-around, so I'll use multiple > > addresses") they'd never modify the address in the fault info, they'd > > just pass the address as an explicit argument (like most cases already > > do - the "change addr or flags in vmf" is actually already _fairly_ > > rare). > > Alright then, I'll take another crack at this for v3 and see how far I > get. But please do keep it as a separate patch, and if it turns out to be ugly for whatever reason, treat it as just a "maybe that would help" suggestion rather than anything stronger.. Linus