Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4442618ybi; Mon, 3 Jun 2019 10:56:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyx4wcIykKzoGicQGD6xRyLH6TFCi18k9eSfKD0JVzSJGiQpJBDD0wtqlo2UyQPjVBtljK1 X-Received: by 2002:a65:5684:: with SMTP id v4mr30621134pgs.160.1559584576921; Mon, 03 Jun 2019 10:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559584576; cv=none; d=google.com; s=arc-20160816; b=Tn+Jholq5moo9n3CwXDw8zvLuo8ByQEFmeTbUCYK6xxxLQnXaY7Euxxz8kPgqYn2ZL LphBO9oN/C9snh+6u+JjLUQxOGlyQwHrbO7dEWA3qdLogGqgEQ8MEwIK1PIPM7LRKUv7 LOj2br2pIQJc0b4SKvji1B5f55wAZckgUhj/xuhxmEG62qI4EZwLsOHf2iU1t+4pPOCy FkA6FAMwzglCeKlEFEIMaVYSFMzM2n/1ym0839l+gXEQsixoUlqhV4uamKXBO82eSUGE 6+ENecu6p7xCsF01aI+EMUfWKx2ePjRBQyoZ2oVvDlpyUoOcGdlI3frSbzsIxLwESqkr gwcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QuQpVmwtCzeDGjWGacwxCh79oFLM7b7NvwIkUGDPPww=; b=K6PsMDAIzorYAd8an5jXx4zLrg0LH1ELrlYmaVzGNI3OzcVvfYQZ669iRZQwfMh1nE 4x74f/NIVCpBKNjFBtdOyhpqQErtHwqrN0uEiHBT1HY4i3KixRx6seEppb0Oo9T7+lOO bZYT0T/M9JqXPzxJvPgROfRy51P6B0oxYFW9agBcbTxdI35nutSQNDbCtoBB73TYskvy NV4xjoiUDP07cBItCvpOoUcOO07g6mcTT6jQW9himOwIUbiDeFllCPXLY5BH4MXBhAo+ Cg4/gxjewfF75kT5IXoDQ57OFXT0XEbBKM3gVLkwDWKKfWVBRL5IQlpFtvMwqZ6RVVBd fYdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si19411433pjp.51.2019.06.03.10.56.00; Mon, 03 Jun 2019 10:56:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728639AbfFCRcR (ORCPT + 99 others); Mon, 3 Jun 2019 13:32:17 -0400 Received: from foss.arm.com ([217.140.101.70]:56644 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726206AbfFCRcR (ORCPT ); Mon, 3 Jun 2019 13:32:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BE60980D; Mon, 3 Jun 2019 10:32:16 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A6BF63F5AF; Mon, 3 Jun 2019 10:32:13 -0700 (PDT) Date: Mon, 3 Jun 2019 18:32:11 +0100 From: Catalin Marinas To: Alexandre Ghiti Cc: Andrew Morton , Christoph Hellwig , Russell King , Will Deacon , Ralf Baechle , Paul Burton , James Hogan , Palmer Dabbelt , Albert Ou , Alexander Viro , Luis Chamberlain , Kees Cook , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v4 02/14] arm64: Make use of is_compat_task instead of hardcoding this test Message-ID: <20190603173210.GI63283@arrakis.emea.arm.com> References: <20190526134746.9315-1-alex@ghiti.fr> <20190526134746.9315-3-alex@ghiti.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190526134746.9315-3-alex@ghiti.fr> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 26, 2019 at 09:47:34AM -0400, Alexandre Ghiti wrote: > Each architecture has its own way to determine if a task is a compat task, > by using is_compat_task in arch_mmap_rnd, it allows more genericity and > then it prepares its moving to mm/. > > Signed-off-by: Alexandre Ghiti > Acked-by: Kees Cook > Reviewed-by: Christoph Hellwig Acked-by: Catalin Marinas