Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp527776pxb; Wed, 27 Jan 2021 13:59:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3Me9zseNimO+uYvc6AKGtW6qcJq7aP8TipFCWvK2ec3ZkcivE4W+8WJ3UCKaMdF+frgkN X-Received: by 2002:a17:906:dfd3:: with SMTP id jt19mr8353464ejc.64.1611784773840; Wed, 27 Jan 2021 13:59:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611784773; cv=none; d=google.com; s=arc-20160816; b=1EkAdc5El6TkBYF6MCXB5nqydjdpMxJKkcA0j+YO4uo1Qmb28nhmDkM0FO5HgZLG2h uUDuDGjNxqBc47m74UOBqSE05oLF/7mFlaLo/36UDzCNDk7Z2n5yicwGfwMwvh1HS32p 8HIhGx5gRbTg99IHPZJAxwK0D/obFA7ctKlhG/BA4hJHLgerEoubIBQH3gsMZBL6lBkd CxKkZxrZnTp1sR8erJh7+oOK4qt2gQu8nRyJ/amNMAb9gL3raFiR/MbJU4MimswTdPg+ /Hs4DstvQFnBy7gpg9pFGGB8gxA+FDd1wXPhR+domQqPcwTkTV+yBr/lBUKZAjcXCHde dfmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6tt+q26QZQZ7f/RTqINCMdmAY3HWtsfzCMqUhN8iTtU=; b=CmgSln4ycaxKCY61H9451SPDNifbuafMaP4sU7grZo2m9sVu76N1HwP+QNJZjY6K/r KVw6afvPREUj7YRP40bsu2MhPXmu+2qt2lU4GEdgAcVzgGzoZXEpDq9RgkxSD7C0P/v2 pjFvibaJ+ePtqdeNETSR3r9KlZFeLBBhrBuFkSu4yNknAy0o5+4nFPzCEg5BDxeVhiXL CQqVogYmUy+5wxajwK5G4inB7i7ox9zr9wki2upnGnx7EVIAmHvZKwdxGppPHjPEa+c6 s9g89wTCPCzXOUly0zLagzYIUIHGjJvCTJzXwUvKElglBGOrHGGO+RNGA3BN4phjdJHJ vcgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=avEl48Rv; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si1701874edr.43.2021.01.27.13.59.08; Wed, 27 Jan 2021 13:59:33 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=avEl48Rv; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235489AbhA0KFK (ORCPT + 99 others); Wed, 27 Jan 2021 05:05:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:44930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S316762AbhAZXJl (ORCPT ); Tue, 26 Jan 2021 18:09:41 -0500 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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