Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp156738imm; Thu, 26 Jul 2018 00:52:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfOChbj/EamUjr1RSr3P+CnFvTndKk394plJjCZAxyZLodhtWElFXir0wEcoPei8v2TO+1J X-Received: by 2002:a65:5bc4:: with SMTP id o4-v6mr900088pgr.448.1532591555174; Thu, 26 Jul 2018 00:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532591555; cv=none; d=google.com; s=arc-20160816; b=t043rJoS25F783HVFvhkNxlu/9Cz9hhhfYvuUaEfP+odP9G2+S38DlCCyyV6/UcoK0 9XwReB8ZzyuPiQSk6tGEWG/A9kMLkkuymceoGEW7hQDmiyuz8o+tkHfmxVfi3iRFlmeV 6M9x14bRYqv+zXCJIesw4ohawAeonZJx6wEGsejALbwsqugGbpCksbWa4nVwOWVY9K8W 7yNrF4ZNa7gGUW1qe/PP5HSozZt241fONNTE2An7wz+lt78kWy6xhwjxieYfErmFM0VT 3CkYD6eC2aiiReTcOnBxJgl+oQXns14u+vizovqTFotsLmaWQNrjG2EBfx+OBldOCoAj jJqg== 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:arc-authentication-results; bh=m0LWwD+fpkZ3MtaooraDcrejtHKdRKH1gnD9yu+06V8=; b=wdtOYl6dsZ6lNHiLVWilN6H5DnO1W2p5VAH40svVZgV4lASSFKLKYAVaShKd0IlDJO femu+ALJOqRtPfMxLcGXGzIQKuK0Moqvl3bP2/0YJF2Pu9PlLsdcZCOjKGtP5h6+tB/7 IaNVt2nDwatwQ6osw2md+8yKbuktdEgku9F/deRmwbPRT81RuJEVB+eZZFhyQ63GOR/J dpxV1CcxaizfZksB/YOOmExWN3kxLH0cecyc6oVjHpG7hHhL67XX6cwhafWg0NRKd2j3 irbjEyV7KzenraZpd4HMrZUSVjpgKxSC4H01G4w9Fd+2PsnW6ip4YMRWzfNAhF/8qoOs 52sA== 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 o8-v6si601990pll.193.2018.07.26.00.52.20; Thu, 26 Jul 2018 00:52:35 -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 S1728841AbeGZJGS (ORCPT + 99 others); Thu, 26 Jul 2018 05:06:18 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36378 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728310AbeGZJGS (ORCPT ); Thu, 26 Jul 2018 05:06:18 -0400 Received: by mail-wr1-f67.google.com with SMTP id h9-v6so704809wro.3 for ; Thu, 26 Jul 2018 00:50:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=m0LWwD+fpkZ3MtaooraDcrejtHKdRKH1gnD9yu+06V8=; b=KqM8Fg3/OtqedtuGWMCkHQZa7khUc8nRyxTsuLVfVQrMGMO/QABj9auR7cizKT4qHv KCekG4a6DX3C3CU3JCJKpSTCYMG08cNaZenDmFYqtXnLCLdg7up6ZDXM8l0KLQK+fvVI kF6t23KJh7w3BT2aDkvfI4R93tnTuZDgXok90NW5QcXzOkbb/20qrg1DIbyDwvXqEF19 IlZD6mnCpVE6BcuoA114Ymv7uBiHe4OOIEHD/Sz1NA3IWpVsDeSOxM+HoDV5Nxescdix E1CesG5bvyu79aqk5y5m8qHbiJGbvP5f1asCqrp3+HxLJpGg/F+TVxlMKDixpeXred4N S1Yg== X-Gm-Message-State: AOUpUlFuqKR44ShRW0ROhraCt6NRT1h5xYI58m30NmWrTASbQnmjlxhR v2tjA6qhcY7F2ZwApGaOTns= X-Received: by 2002:a5d:48c7:: with SMTP id p7-v6mr732565wrs.0.1532591441210; Thu, 26 Jul 2018 00:50:41 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id l14-v6sm883112wrw.65.2018.07.26.00.50.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 00:50:40 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 1CC65124384; Thu, 26 Jul 2018 09:50:40 +0200 (CEST) Date: Thu, 26 Jul 2018 09:50:40 +0200 From: Oscar Salvador To: Pavel Tatashin Cc: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, mhocko@suse.com, linux-mm@kvack.org, dan.j.williams@intel.com, jack@suse.cz, jglisse@redhat.com, jrdr.linux@gmail.com, bhe@redhat.com, gregkh@linuxfoundation.org, vbabka@suse.cz, richard.weiyang@gmail.com, dave.hansen@intel.com, rientjes@google.com, mingo@kernel.org, abdhalee@linux.vnet.ibm.com, mpe@ellerman.id.au Subject: Re: [PATCH 1/3] mm: make memmap_init a proper function Message-ID: <20180726075040.GB22028@techadventures.net> References: <20180724235520.10200-1-pasha.tatashin@oracle.com> <20180724235520.10200-2-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180724235520.10200-2-pasha.tatashin@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 24, 2018 at 07:55:18PM -0400, Pavel Tatashin wrote: > memmap_init is sometimes a macro sometimes a function based on > __HAVE_ARCH_MEMMAP_INIT. It is only a function on ia64. Make > memmap_init a weak function instead, and let ia64 redefine it. > > Signed-off-by: Pavel Tatashin Looks good, and it is easier to read. Reviewed-by: Oscar Salvador Thanks -- Oscar Salvador SUSE L3