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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 AB676C3A5A2 for ; Fri, 23 Aug 2019 15:01:31 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4E0B322CEC for ; Fri, 23 Aug 2019 15:01:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ogw5G1a4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E0B322CEC 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 B40C76B049E; Fri, 23 Aug 2019 11:01:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AF11C6B049F; Fri, 23 Aug 2019 11:01:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A08C56B04A0; Fri, 23 Aug 2019 11:01:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0205.hostedemail.com [216.40.44.205]) by kanga.kvack.org (Postfix) with ESMTP id 7F61A6B049E for ; Fri, 23 Aug 2019 11:01:30 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 351685C0 for ; Fri, 23 Aug 2019 15:01:30 +0000 (UTC) X-FDA: 75854006340.11.skirt44_4745f24692238 X-HE-Tag: skirt44_4745f24692238 X-Filterd-Recvd-Size: 3326 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Fri, 23 Aug 2019 15:01:29 +0000 (UTC) Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6EB4320870; Fri, 23 Aug 2019 15:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566572488; bh=VeDXUNhYi4KOLRcPtTimB9I/sRPTZn6cLXwdsKfPAoM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ogw5G1a4JKEhadQ4VXMl8TD9pUVeCpgRlOTMDgBEM80gSNPg9C9ilMz662jfrrP1D C0Ht4swy/wJGr0TqI3JQy1vqynpRHpPFJGNGSigNYfrwVf14YBKQpVaFkXmW8Hu0AX lQ2Ehl2PfHVZv6NukNtD+6USjCHPjarbfILjbFQU= Date: Fri, 23 Aug 2019 16:01:23 +0100 From: Will Deacon To: Andrew Morton Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Szabolcs Nagy , Andrey Konovalov , Kevin Brodsky , Will Deacon , Dave Hansen , Vincenzo Frascino , Dave P Martin Subject: Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk Message-ID: <20190823150123.okjow4g3mt2znz7c@willie-the-truck> References: <20190815154403.16473-1-catalin.marinas@arm.com> <20190815154403.16473-2-catalin.marinas@arm.com> <20190819162851.tncj4wpwf625ofg6@willie-the-truck> <20190822164125.acfb97de912996b2b9127c61@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190822164125.acfb97de912996b2b9127c61@linux-foundation.org> User-Agent: NeoMutt/20170113 (1.7.2) 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 Thu, Aug 22, 2019 at 04:41:25PM -0700, Andrew Morton wrote: > On Mon, 19 Aug 2019 17:28:51 +0100 Will Deacon wrote: > > > On Thu, Aug 15, 2019 at 04:43:59PM +0100, Catalin Marinas wrote: > > > There isn't a good reason to differentiate between the user address > > > space layout modification syscalls and the other memory > > > permission/attributes ones (e.g. mprotect, madvise) w.r.t. the tagged > > > address ABI. Untag the user addresses on entry to these functions. > > > > > > Signed-off-by: Catalin Marinas > > > --- > > > mm/mmap.c | 5 +++++ > > > mm/mremap.c | 6 +----- > > > 2 files changed, 6 insertions(+), 5 deletions(-) > > > > Acked-by: Will Deacon > > > > Andrew -- please can you pick this patch up? I'll take the rest of the > > series via arm64 once we've finished discussing the wording details. > > > > Sure, I grabbed the patch from the v9 series. Thanks, Andrew. > But please feel free to include this in the arm64 tree - I'll autodrop > my copy if this turns up in linux-next. I'd prefer for this one to go via you so that it can sit with the rest of the core changes relating to tagged addresses. Obviously please yell if you run into any issues with it! Cheers, Will