Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3666142pxy; Tue, 4 May 2021 07:23:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2uA3s9f7y0jIHWvW4/aWq0NjgcZFOPoZtfUwxca+kX48DI2bdwF8t29e3U6ndNVUGzjCN X-Received: by 2002:a17:902:c412:b029:ec:c89f:ce31 with SMTP id k18-20020a170902c412b02900ecc89fce31mr26209258plk.54.1620138220228; Tue, 04 May 2021 07:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620138220; cv=none; d=google.com; s=arc-20160816; b=C4hLnwY3Myfmfp8k0Rc20rVtsUsjBB6gQm5Py3TCefCOYf1QzpVePChgqSPxmT81aj f7U5w9qJDUmDvXitZsRFtjQR6Z8dUrtkTdq0UeXk25zFBxzmzAd6+6ONT5SFloDMehb4 iLq2NwpKrCiJzjlQ2qdU54Fa0muZXvLiemuMWGYqPURfm7CLdsyO6UJV+FP27sf0slFP 5b2cfnvLFM9f3JwF7/npEfkOMHutGufmfXY2fI6jwKtY9uvSiuiLiMbvO2z07z4LeygU BFa+/4jrkoEniybwvvGp7F6tG7ZnIfSLXNb5+pwDH2o3saEBJRi+Kr3+jhOSZWym18tb 2Ycw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NRseZ+5ZKsQ8MFh97re1Aq869BzHjGUyAEsbRHWPvkI=; b=fadaXGdlOWIUV+TqFQ1hLBVanw89VA+bxXudWIBYLUY8yJaRbiEBHp9rgsesdEP3/M yqmMhxX949KjyXZFT7qnpk4q2G5Tt5r5AKEw/1lo8jF1VgUt4jwlxaU1FbwzGZtxsgHJ I52RyjU5UOjVrz/86lJ8VVhJa2RBg/KZ2JKtADknwzu5ao3N4JmkD6CEIsEfwVicuMYn nJNggUK6nUQJKi2USMLCOYbK0znatwGXGHYS7p2e4JLyv54maBNEfTgpKMHamMWwD4R+ S1MLEyjHWpNBhrVtsftti/3Z0s2v2Nib2F1S1/bBFOr1z1+n9CkW++eniqlz2fJT2+hi xKTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gk4x+hzi; 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 v12si18732566pfc.236.2021.05.04.07.23.27; Tue, 04 May 2021 07:23:40 -0700 (PDT) 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=gk4x+hzi; 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 S230301AbhEDMPl (ORCPT + 99 others); Tue, 4 May 2021 08:15:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:49958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230291AbhEDMPk (ORCPT ); Tue, 4 May 2021 08:15:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 59665613AA; Tue, 4 May 2021 12:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620130485; bh=hQ28iSIFa+luYjAK/PCWccis9gVvLK5GT9r8SOkcggQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gk4x+hziajWPIa77ZnnG5Yp5kxcndS9s0EuIooS3kIW5Nt60zcOSefZh424F9frcP I4+9TJI7eFJB7M9OcHd39w5V/c7s+sCa2BBRz0Ld/zWV/TuxdADB41lsO5zAMx5Dpj bG6Y4KJDljr/Gw21OJZnv2AL8HnrFN+b6YyN1S1FoDYbBV2wS8tQpf8N7sDjWgXqH6 Fj56J8N84Ypl18xJ7GumRygosNpGEO27jlU1y03SWAJYSRkt9rfJgWOubILR0nEWEf hlm+O1lj20RDXUwkK6VCMOcybfT4cNWZ3963eSmpoHEd+26e12/tD63/QUFEnDzG7N TZUJC6T5Smh5g== Date: Tue, 4 May 2021 15:14:32 +0300 From: Mike Rapoport To: Anshuman Khandual Cc: linux-mm@kvack.org, akpm@linux-foundation.org, Richard Henderson , Vineet Gupta , Catalin Marinas , Will Deacon , Guo Ren , Brian Cain , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Ley Foon Tan , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E.J. Bottomley" , Michael Ellerman , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Heiko Carstens , Yoshinori Sato , "David S. Miller" , Jeff Dike , Thomas Gleixner , Chris Zankel , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] mm: Define default value for FIRST_USER_ADDRESS Message-ID: References: <1618550254-14511-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1618550254-14511-1-git-send-email-anshuman.khandual@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 10:47:34AM +0530, Anshuman Khandual wrote: > Currently most platforms define FIRST_USER_ADDRESS as 0UL duplication the > same code all over. Instead just define a generic default value (i.e 0UL) > for FIRST_USER_ADDRESS and let the platforms override when required. This > makes it much cleaner with reduced code. > > The default FIRST_USER_ADDRESS here would be skipped in > when the given platform overrides its value via . > > Cc: Richard Henderson > Cc: Vineet Gupta > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Guo Ren > Cc: Brian Cain > Cc: Geert Uytterhoeven > Cc: Michal Simek > Cc: Thomas Bogendoerfer > Cc: Ley Foon Tan > Cc: Jonas Bonn > Cc: Stefan Kristiansson > Cc: Stafford Horne > Cc: "James E.J. Bottomley" > Cc: Michael Ellerman > Cc: Christophe Leroy > Cc: Paul Walmsley > Cc: Palmer Dabbelt > Cc: Heiko Carstens > Cc: Yoshinori Sato > Cc: "David S. Miller" > Cc: Jeff Dike > Cc: Thomas Gleixner > Cc: Chris Zankel > Cc: Andrew Morton > Cc: linux-arch@vger.kernel.org > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual Acked-by: Mike Rapoport -- Sincerely yours, Mike.