Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1631096imm; Thu, 19 Jul 2018 05:20:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedLn4YyV6jnzc+UZ/iukzVzz3bJ4Gp7L6/1Yq3utzihB8+daSF2Pa6QnUKJbihCSK8dxDq X-Received: by 2002:a63:2359:: with SMTP id u25-v6mr9864275pgm.220.1532002814403; Thu, 19 Jul 2018 05:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532002814; cv=none; d=google.com; s=arc-20160816; b=UGEciVFO8tLnaSsu3vuw7Y2uGts0HHHzqCM5oFBoTaYiE/pcroKIyO0xogpRQJ3tBS 8RJTHAVSoj3HEdQBTjJ2dTGRiqwWb6LQ1bQMYq3sxyP1MWvm0wRjriFjc9xzI8OSml+c KZzPZIp7/V3H/+GobGsy1xomBoygTvh3uJflwHtub2BLi6P9yQd+npZefmkQg2vIpyrW hgHiOe7kdPiOziu+75Yv4LjC1dvfoL6tLrf4iRLErBhkFWcBY7u70fccZZ2fL+1pOpST iIENA8ainWicCaHXhbrYYhYfhdd6jebeSljBHDb1zCANRYdQG8bZTyZ1ukeMgB0X6iVY /Pvw== 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=IvnmnPXJlQ0Um8Q0bTBreV7ZaIgy5mO3yM9Z9xMGshE=; b=kjZrEUSzcxkK9VsVsOLehvhq/LT/qlVGVvZppEZmynOG3JA849oKRaQtW0p45tOvNI iY+xecrZAOOOHqzJ5/lZ562+Cifk9BJTjY3fQO85hw5ycWMrocLH1GwsP3/U4/NxxXe1 s8TYAXsAwlBcwInNKakz9PT2fvsKBj1wATs/+XDo5t2FHRrGQoh9sJTSlbd1zet3KC3n UjvCKvIzqzpn3khPrD5hEwQ7pWAtyrRPwlTj9Sb7Oe9Tn8PgzFHf8nwoGg5xe+k9iWWY hxRDCNXStWG2WwAei1ajCZqYdBCA/MPssFy4/gr6cZcYD5F2AG3kSn66uD1tFGXJyfny oP4g== 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 t20-v6si5287464plo.338.2018.07.19.05.19.59; Thu, 19 Jul 2018 05:20:14 -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 S1731205AbeGSNB6 (ORCPT + 99 others); Thu, 19 Jul 2018 09:01:58 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:51935 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730096AbeGSNB6 (ORCPT ); Thu, 19 Jul 2018 09:01:58 -0400 Received: by mail-wm0-f67.google.com with SMTP id h3-v6so5563302wmb.1 for ; Thu, 19 Jul 2018 05:19:04 -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=IvnmnPXJlQ0Um8Q0bTBreV7ZaIgy5mO3yM9Z9xMGshE=; b=hq/aQ3rH4gaa08eIDul7MxF+ue0McWRatn620/8TFInP/dFzEGAKBnJxKfjopqkB9e BTqJojd5vUzm4KXUPzy/XOgiSvNtdwSBQ3w8i4xzSZgtxncUIBBbxVxNr0LyuSIzS3JW nckW/6ttvTdybG38MWMi6isR0gI9vTo8Xck4qN0xcgrNqt88Jb8gkc44YHY0bpic839Y D+94QTCgEZZ7zgNyJVWOsr1oiDJ8vvC75ap+Lwemppprip36jA2G81rpwoqcI/FjHJxT i5aakKZPTbpUYNWFmhUeLxTphTCHHWQ5fmvWk6fZVGx2lrkSuK3k1TOiUlYrpz26wmtT mrJA== X-Gm-Message-State: AOUpUlGkXTe9ipJNGvk54KVsJlfTVwUDOCa8bXEAv+X0JmAFOTfTcFBW kT3+tLwn7sdyvNEwEfg11BM= X-Received: by 2002:a1c:dacb:: with SMTP id r194-v6mr4080780wmg.56.1532002743433; Thu, 19 Jul 2018 05:19:03 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id g204-v6sm3352700wmd.26.2018.07.19.05.19.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 05:19:02 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 285F1124167; Thu, 19 Jul 2018 14:19:02 +0200 (CEST) Date: Thu, 19 Jul 2018 14:19:02 +0200 From: Oscar Salvador To: Pavel Tatashin Cc: akpm@linux-foundation.org, mhocko@suse.com, vbabka@suse.cz, iamjoonsoo.kim@lge.com, aaron.lu@intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Oscar Salvador Subject: Re: [PATCH 1/3] mm/page_alloc: Move ifdefery out of free_area_init_core Message-ID: <20180719121902.GB8750@techadventures.net> References: <20180718124722.9872-1-osalvador@techadventures.net> <20180718124722.9872-2-osalvador@techadventures.net> <20180718141150.imiyuust5txfmfvw@xakep.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718141150.imiyuust5txfmfvw@xakep.localdomain> 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 Wed, Jul 18, 2018 at 10:11:50AM -0400, Pavel Tatashin wrote: > On 18-07-18 14:47:20, osalvador@techadventures.net wrote: > > From: Oscar Salvador > > > > Moving the #ifdefs out of the function makes it easier to follow. > > > > Signed-off-by: Oscar Salvador > > Hi Oscar, > > Reviewed-by: Pavel Tatashin > > Please include the following patch in your series, to get rid of the last > ifdef in this function. Hi Pavel, I am about to send v2 with this patch included, but I just wanted to let you know this: > + zone_set_nid(nid); This should be: zone_set_nid(zone, nid); I fixed it up in your patch, I hope that is ok. Thanks -- Oscar Salvador SUSE L3