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=-7.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 DD086C433DB for ; Tue, 26 Jan 2021 23:09:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6262D2065D for ; Tue, 26 Jan 2021 23:09:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6262D2065D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CDB986B0005; Tue, 26 Jan 2021 18:08:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C66576B0006; Tue, 26 Jan 2021 18:08:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B2CDE6B0007; Tue, 26 Jan 2021 18:08:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 95CB36B0005 for ; Tue, 26 Jan 2021 18:08:59 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 68271180ACF62 for ; Tue, 26 Jan 2021 23:08:59 +0000 (UTC) X-FDA: 77749468398.04.bulb86_081720327592 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id 2D76C80105D6 for ; Tue, 26 Jan 2021 23:08:59 +0000 (UTC) X-HE-Tag: bulb86_081720327592 X-Filterd-Recvd-Size: 3121 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Jan 2021 23:08:58 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 60AC22065C; Tue, 26 Jan 2021 23:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611702537; bh=ZcWiVRtGNonnO8A1OWptzd75MMTLGyymFyrOh0mqTMI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=avEl48RvWCLjsUQuImILhaUc2gs33aJv/4LJvFRfZ/eGQ3S2AxHaIuGzjeF6m2fDI 3qgkWlctKqloIkEbGnm1fwCs43WgTFwGvC/YTLO/x7ujGXbnUOk2qQ/3twF3Gm8oJV Brykj+eHX/4zYCL9h+dBxWIvUXAYfK0mvpbVaQSsdN8Ua8uLQ9daPtotB+ShbAYq9v EztUsEsKwXdDq6fKBn+GdCDjpVfAWrpKaHXpCzLOZOc392pdLziu3JvL6mHMJN1pTZ wq69S/9AxpN0/DRgGaySDgu3itV8ns3haNjhqbowuJYu5tCdrab9Ii/MJQisihG0WB Mig8ek4jCYVOg== Date: Tue, 26 Jan 2021 23:08:52 +0000 From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Jan Kara , Minchan Kim , Andrew Morton , "Kirill A . Shutemov" , Linus Torvalds , Vinayak Menon , Hugh Dickins , Nick Desaulniers , kernel-team@android.com Subject: Re: [PATCH v4 0/8] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag Message-ID: <20210126230851.GE30941@willie-the-truck> References: <20210120173612.20913-1-will@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120173612.20913-1-will@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) 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 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!). Thanks, Will