Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp173090imm; Thu, 26 Jul 2018 01:13:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc6YSWec2hLbh3sNmLufeo02+FWFXEGZ6sCp3jXJf46DABCz9wtA66iCcpXVYE7VT/706F/ X-Received: by 2002:a65:6102:: with SMTP id z2-v6mr1018433pgu.46.1532592813049; Thu, 26 Jul 2018 01:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532592813; cv=none; d=google.com; s=arc-20160816; b=GnRBlP6T3LvxczuBoIwjwRMDldbKbM9EOTSuEXLQU63eV+FlbGQsMAV0SFQUgCryde nTBEuNnh85cs/5pbBSK3QXFbbS61OvrRaV5nPqNIlFPZhXkVdKszCl8UYCB33GI/gpWe m7uTiF07e2etSzqVFTHCgv6N9XlAO6q/oY4/sRDYhct/IMQkmqueYHCfSSV2ts2d7sKL T04xN/bbYIvLRUsYjJ/EY9il+QVCliJLj8G38k/hSouzRHTCRYGiNhXtVN9kT/kVp4g3 lH2F0FSShg0JcL7FETGmtNfzYaLayoH5la1WA03np/ZoXOIQHitnPKnXFgwlweSvIhOr Tntw== 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=ln9xf5fQxJD+q/HE4tUFtYwZX2rD0/6CToVKf7Exezc=; b=Trzy9i/mXWcRwzGm0SnIER3SVb4xyEToQ8cnMqRCPMoTXkJsGvC6vEbwx2SmqK4XCH UZepBmZosw+YGlli3YnSiljoL85sWsIG6Ozhi1McaZUk60KhFTB8P4oY4D63bMo9CYbZ cIKL3fBSxFHwGjZj5mk1jm6i0sFg0+T8tg7OIdDrO9EjM93OkMzb7Z1b31I7G6noObNr VT4Jxe/ubHEoAxNXQ4k2S6MIv+w117p/oVStirXAiDGxs4RKOGIhXLDY2qukQYm0birr 49ky9g9+RYqoamLpBETODkNd9AU33oyFgUGKtFVJU8CLMatwitICdAxYcPl57IdiIzmw 9G+Q== 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 n17-v6si747414pgh.609.2018.07.26.01.13.18; Thu, 26 Jul 2018 01:13:33 -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 S1729109AbeGZJ16 (ORCPT + 99 others); Thu, 26 Jul 2018 05:27:58 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35237 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728584AbeGZJ16 (ORCPT ); Thu, 26 Jul 2018 05:27:58 -0400 Received: by mail-wm0-f66.google.com with SMTP id o18-v6so1054719wmc.0 for ; Thu, 26 Jul 2018 01:12:16 -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=ln9xf5fQxJD+q/HE4tUFtYwZX2rD0/6CToVKf7Exezc=; b=KXbHE/ss4VSowiHC0LIjUofDhhn3lqvFFjML12B7b0syfExh3X+Mev999jfvSpANK7 nZM9w2lx+93PTJpc8XPjoFhUDSfv+yRZrZ7A4wl5c+l/fl691Ve2wuDL0ZSWhp8MjUAw SwMB/jZIWRSG2Ad0NfJj55/9EPGiyAWZzJiV0xkID1OZWCxT62o4KMucgALz+LdzJEhJ wzWoeWjQpV6S4mgfCrM/Q07cQjACCBVHBegojgH4XiyRd3cTwzM5LOSZFp8dF56UaIKN +3ean720uL4aIExSK2eG8dxClqNgmwJ+rXt513UHpuB4Dr902ywG7lXBIQiX54ssqs/9 Z/HA== X-Gm-Message-State: AOUpUlElmMg1pUFV0u4W+m6g/NXUQ/sW1oilXqnUIvrNMxlooIEnHM9+ ZsSZYtw7zx3p+Dvc+xQgILE2NqE8Aho= X-Received: by 2002:a1c:ca0f:: with SMTP id a15-v6mr823511wmg.102.1532592736389; Thu, 26 Jul 2018 01:12:16 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id l5-v6sm498750wrq.86.2018.07.26.01.12.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 01:12:15 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 4465112438C; Thu, 26 Jul 2018 10:12:15 +0200 (CEST) Date: Thu, 26 Jul 2018 10:12:15 +0200 From: Oscar Salvador To: Michal Hocko Cc: akpm@linux-foundation.org, vbabka@suse.cz, pasha.tatashin@oracle.com, mgorman@techsingularity.net, aaron.lu@intel.com, iamjoonsoo.kim@lge.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, dan.j.williams@intel.com, Oscar Salvador Subject: Re: [PATCH v3 2/5] mm: access zone->node via zone_to_nid() and zone_set_nid() Message-ID: <20180726081215.GC22028@techadventures.net> References: <20180725220144.11531-1-osalvador@techadventures.net> <20180725220144.11531-3-osalvador@techadventures.net> <20180726080500.GX28386@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180726080500.GX28386@dhcp22.suse.cz> 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 Thu, Jul 26, 2018 at 10:05:00AM +0200, Michal Hocko wrote: > On Thu 26-07-18 00:01:41, osalvador@techadventures.net wrote: > > From: Pavel Tatashin > > > > zone->node is configured only when CONFIG_NUMA=y, so it is a good idea to > > have inline functions to access this field in order to avoid ifdef's in > > c files. > > > > Signed-off-by: Pavel Tatashin > > Signed-off-by: Oscar Salvador > > Reviewed-by: Oscar Salvador > > My previous [1] question is not addressed in the changelog but I will > not insist. If there is any reason to resubmit this then please > consider. Oh, sorry, I missed that. If I resubmit a new version, I can include the information about opengrok, although it would be better if Pavel comments on it, as I have no clue about the software. If not, maybe Andrew can grab it? Thanks -- Oscar Salvador SUSE L3