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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 7857CC433E0 for ; Tue, 26 Jan 2021 23:31:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 298AE2067B for ; Tue, 26 Jan 2021 23:31:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 298AE2067B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:Message-ID:In-Reply-To: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=j5FJgYp1XQ2Cv52D1zKQnAumIfeSW1aSkOatxpdmyrg=; b=SWN6/PJfFL7J3za46jNGOToSp 4rfczpWoqeNctGDP1toNLIt3CyKqn3FaT25Vq2S3bUgNLQJ+hZh+mcP1QJl4wsWVlXQxhcB8LSRSL w/q4T3ObKWDAks9xIQRWSxHRaDii45/qKwPJUQBQPcpjaRu4h0CiscTAWbODFM0VeVjo8mK4TrkJq m1LeglLhbXv0oZmuMtgYF3OWl10QmkBS2JWp82Yjflz56n1d4uZ2jzwW1U82DBm7/8LL6wlNAkSeo zd3WwZlbHQTS/mlJGSLjqrTYoybPS+HdMKxmOfVvFE/hCO/QSwqmccD7ovy9jiqMAW/loXg3X6Cn3 bNmu3gz5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4XlU-0000qz-TZ; Tue, 26 Jan 2021 23:28:52 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4XlS-0000qP-2a for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 23:28:51 +0000 Received: by mail-oi1-x22a.google.com with SMTP id h6so208980oie.5 for ; Tue, 26 Jan 2021 15:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=6elxq1WfF4E41ZiBczRrJyQmMODP+O0N7PSHZ9Kx/14=; b=AuzqKJ94rmZ3lCpEcfqI5NsAgVFHvpLo6cHeoOZKK/GpHi6W5cv3GwWc6hUhWxBxnv WHCl6R8Q+Os3QUsUOQJA50Q5YtBvL1jUO3gD3ZEWyZgsrxvaGn+kW9I4nKieg397ml3d 38Rq/CmX7T4sjBr5YoOrSFTHZEnnDn5QzNJrGeI1A36VRJdy6lcI77reKvNjyjPus1gB N0JBff//11xHi07IYuRyWz0OP8qcIhCF6prjSNziTmSLOUE/X5F3dJUx8vzqefTR/XAx o99ujyveMc11O005JQmFa28uLzKVvlSaHYrv3F0IcWmlmfrdavEpVFEZg6qyynYxcezE 31Dw== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=6elxq1WfF4E41ZiBczRrJyQmMODP+O0N7PSHZ9Kx/14=; b=DdSpgg380Ke+SozRuzt0EEYtSDjWuiVyAnYQp61bAza4sImBfRQXQ5XYa7CAUEWGXp k3RpSzGqPzdpS9AA4kKB28wyUyr9W0mjOEY3z0t0kxYkzbsUbw08mxn3LGGE+o5NMXoO y4ed0V2gxEjxMOw6r/E9BMkA6OJX5qtZNh1VA3xIJmyTd7i6urlDitSFtqX/X+EO2TnH LZ1KNFmmjV4SpuTYagB1264PugndTfttpPXAcOzWUTtd1++wx4yLU6Nx/eqiDQlf5RXw eSAdC1XsVGfTLJhqx8FsVkdfwGpqtBUoX4WFYtytUHerfwLyE7J5NbvyerD0nJ1i3wyq YPHg== X-Gm-Message-State: AOAM530sc8zdWAAt+S87zZka53kdTM9jDVtOU8QQZ5rQPlXcUMv6glut z9lv5xZudoXu16rjDmHccjlRhQ== X-Google-Smtp-Source: ABdhPJxd9Vg4/FGYqUZdNOcBAq3TbLrlQNMDdaP1cglRedmblvFJcX4xEsB02WyUooPtAkZkHh0j1A== X-Received: by 2002:aca:ecc8:: with SMTP id k191mr1341900oih.179.1611703725081; Tue, 26 Jan 2021 15:28:45 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id g13sm26718otl.60.2021.01.26.15.28.43 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Tue, 26 Jan 2021 15:28:44 -0800 (PST) Date: Tue, 26 Jan 2021 15:28:22 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Will Deacon Subject: Re: [PATCH v4 0/8] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag In-Reply-To: <20210126230851.GE30941@willie-the-truck> Message-ID: References: <20210120173612.20913-1-will@kernel.org> <20210126230851.GE30941@willie-the-truck> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_182850_150400_DEA82D3D X-CRM114-Status: GOOD ( 19.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nick Desaulniers , kernel-team@android.com, Jan Kara , Minchan Kim , Catalin Marinas , Hugh Dickins , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Vinayak Menon , "Kirill A . Shutemov" , Andrew Morton , Linus Torvalds , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 26 Jan 2021, Will Deacon wrote: > On Wed, Jan 20, 2021 at 05:36:04PM +0000, Will Deacon wrote: > > Hi all, > > > > This is version four of the patches I previously posted here: > > > > v1: https://lore.kernel.org/r/20201209163950.8494-1-will@kernel.org > > v2: https://lore.kernel.org/r/20210108171517.5290-1-will@kernel.org > > v3: https://lore.kernel.org/r/20210114175934.13070-1-will@kernel.org > > > > The patches allow architectures to opt-in at runtime for faultaround > > mappings to be created as 'old' instead of 'young'. Although there have > > been previous attempts at this, they failed either because the decision > > was deferred to userspace [1] or because it was done unconditionally and > > shown to regress benchmarks for particular architectures [2]. > > > > The big change since v3 is that the immutable fields of 'struct vm_fault' > > now live in a 'const' anonymous struct. Although Clang will silently > > accept modifications to these fields [3], GCC emits an error. The > > resulting diffstat is _considerably_ more manageable with this approach. > > The only changes I have pending against this series are cosmetic (commit > logs). Can I go ahead and queue this in the arm64 tree so that it can sit > in linux-next for a bit? (positive or negative feedback appreciated!). That would be fine by me: I ran v3 on rc3, then the nicer smaller v4 on rc4, and saw no problems when running either of them (x86_64 only). Hugh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel