Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5237964imm; Tue, 31 Jul 2018 07:43:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpehML/wkFP30NrE3JIb5JzmI01OPtU61sirS/sM+qBB82UYzsJSwi4jt3j2aSrNPZrm0yKV X-Received: by 2002:a63:144b:: with SMTP id 11-v6mr21070122pgu.219.1533048195852; Tue, 31 Jul 2018 07:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533048195; cv=none; d=google.com; s=arc-20160816; b=fKOueFsl7L06MLeTEzR8ovxmwqfLYBXvbkb3EOQ/JJllrAelygndN9IKTpwRnItiw/ dBcPdUzA3QfsdqoUoqWnpKz65zD/L+3pqXCyl1/5ssNXuUU7ednMopWVrr2FGMtORLvf skHN1lPEKKnHPp+tEQqA8l4bGyC3QaqJxVvOlcB0ZfJdPha3eJ2233bBy6K1kgTVWKvZ jBGzQI+NoSkgQMf+m2IfTsazkYG9Zsd6gZK1nXi2ervolpISXKE/9k5K0vxCh3J00hfe fX5hAOC7uvsndXLA8Lm8zceSGa2yeBtQ33inYyOZOuRnmKAwg5e/XqxaGTmEAoHg+xn3 MAow== 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=RbJ+aGLGSMCac7Wgu0IMv/i9lR0PcwraTmiIm3WpZIA=; b=m6UGmSorbnmO0TaYd1Ztqej4PxIn6C1LRM8UWZcQ7cniUdhxC1T1/Q9iV8+J0EuYUt V6+3hIt4mZiGc1ireslRT7gr5oi2xeqvqs0BLGQqbRYVB9W/iVMVRGsRZY0zuloi8mS5 U1HDI0TCd/cHdbngcds/jNNiwM4AK+IBnLIfj7OZy90offoHkFuAyVVEG28MXg2thp4l FEmEwtPPR7M2ZHzKFjUfo3Jar/tPVL1ZUqXDSxpu5mljMSxO1FQN1SYqE97RCbq7260u U7ChvuxSt6fRysFC60P/wA2D1NGpbLvDrbXmByiG3zqH756Ejl0fiP8lsvIVtheMnRAy 6jXQ== 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 g184-v6si13950736pfc.115.2018.07.31.07.43.01; Tue, 31 Jul 2018 07:43:15 -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 S1732468AbeGaQWi (ORCPT + 99 others); Tue, 31 Jul 2018 12:22:38 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51695 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732260AbeGaQWi (ORCPT ); Tue, 31 Jul 2018 12:22:38 -0400 Received: by mail-wm0-f68.google.com with SMTP id y2-v6so3393425wma.1 for ; Tue, 31 Jul 2018 07:41:59 -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=RbJ+aGLGSMCac7Wgu0IMv/i9lR0PcwraTmiIm3WpZIA=; b=UojGpvreb+uqaImsp5lKQtyCIdoyqcR1bHVgWfvmbZPy9f7V4QnOle/QezkQrCjLwQ 72jnIJJWlZAJ9QSdVql3G/T/fwtohCBZM51Pf9bx/2DV3aqPCT2gr2v//GFwGjDsRmjG Pae29c2o46ZEk8J4DEqT6/QQEtrmBlOlYO3xGPLDW3BDMUlLUIBxgVK03gzYcCd2mxxj WhyWrMwka/dqjCfDAxWwKUfjBasK5vUvBeNOM/JddHHk3EzFvB8hDxktwnSsXTO5lfRM ggNo8yF3Xkugyy1vFkCIRKBf71aAWRtSemb8M/ozFNEtoEA6zo060jpDFC782YdVo7iB CpCw== X-Gm-Message-State: AOUpUlGMlrwSJEUuv8eXGGLOoy3rnkpgixlNx7OM74Eh9xHZ8ceWdN1x E/B58gEzKOoZmlxpXSNtoQQ= X-Received: by 2002:a1c:f611:: with SMTP id w17-v6mr2351498wmc.143.1533048118912; Tue, 31 Jul 2018 07:41:58 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id v5-v6sm14703283wru.60.2018.07.31.07.41.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 07:41:58 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 842F01244E9; Tue, 31 Jul 2018 16:41:57 +0200 (CEST) Date: Tue, 31 Jul 2018 16:41:57 +0200 From: Oscar Salvador To: Pavel Tatashin Cc: Andrew Morton , Michal Hocko , Vlastimil Babka , kirill.shutemov@linux.intel.com, iamjoonsoo.kim@lge.com, Mel Gorman , Souptick Joarder , Linux Memory Management List , LKML , osalvador@suse.de Subject: Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG Message-ID: <20180731144157.GA1499@techadventures.net> References: <20180731124504.27582-1-osalvador@techadventures.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 31, 2018 at 08:49:11AM -0400, Pavel Tatashin wrote: > Hi Oscar, > > Have you looked into replacing __paginginit via __meminit ? What is > the reason to keep both? Hi Pavel, Actually, thinking a bit more about this, it might make sense to remove __paginginit altogether and keep only __meminit. Looking at the original commit, I think that it was put as a way to abstract it. After the patchset [1] has been applied, only two functions marked as __paginginit remain, so it will be less hassle to replace that with __meminit. I will send a v2 tomorrow to be applied on top of [1]. [1] https://patchwork.kernel.org/patch/10548861/ Thanks -- Oscar Salvador SUSE L3